2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Renamed BoxContent::onScrollToY to BoxContent::scrollToY.

This commit is contained in:
23rd
2022-02-23 04:11:34 +03:00
committed by John Preston
parent 06d5d8859a
commit ed14e47389
7 changed files with 17 additions and 17 deletions

View File

@@ -553,7 +553,7 @@ void ShareBox::createButtons() {
}
void ShareBox::applyFilterUpdate(const QString &query) {
onScrollToY(0);
scrollToY(0);
_inner->updateFilter(query);
}
@@ -624,7 +624,7 @@ void ShareBox::selectedChanged() {
}
void ShareBox::scrollTo(Ui::ScrollToRequest request) {
onScrollToY(request.ymin, request.ymax);
scrollToY(request.ymin, request.ymax);
//auto scrollTop = scrollArea()->scrollTop(), scrollBottom = scrollTop + scrollArea()->height();
//auto from = scrollTop, to = scrollTop;
//if (scrollTop > top) {