Renamed BoxContent::onScrollToY to BoxContent::scrollToY.

This commit is contained in:
23rd 2022-02-23 04:11:04 +03:00
parent c369eb13bf
commit 4ba28e2fec
2 changed files with 2 additions and 2 deletions

View file

@ -110,7 +110,7 @@ RectParts BoxContent::customCornersFilling() {
return {}; return {};
} }
void BoxContent::onScrollToY(int top, int bottom) { void BoxContent::scrollToY(int top, int bottom) {
if (_scroll) { if (_scroll) {
_scroll->scrollToY(top, bottom); _scroll->scrollToY(top, bottom);
} }

View file

@ -214,7 +214,7 @@ public:
void scrollByDraggingDelta(int delta); void scrollByDraggingDelta(int delta);
void onScrollToY(int top, int bottom = -1); void scrollToY(int top, int bottom = -1);
protected: protected:
virtual void prepare() = 0; virtual void prepare() = 0;