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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user