From 4ba28e2fec2ab86fb539a4cfe08b9bd1803f8fcf Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Wed, 23 Feb 2022 04:11:04 +0300 Subject: [PATCH] Renamed BoxContent::onScrollToY to BoxContent::scrollToY. --- ui/layers/box_content.cpp | 2 +- ui/layers/box_content.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/layers/box_content.cpp b/ui/layers/box_content.cpp index e25af58..e089902 100644 --- a/ui/layers/box_content.cpp +++ b/ui/layers/box_content.cpp @@ -110,7 +110,7 @@ RectParts BoxContent::customCornersFilling() { return {}; } -void BoxContent::onScrollToY(int top, int bottom) { +void BoxContent::scrollToY(int top, int bottom) { if (_scroll) { _scroll->scrollToY(top, bottom); } diff --git a/ui/layers/box_content.h b/ui/layers/box_content.h index 8b470d9..86112dc 100644 --- a/ui/layers/box_content.h +++ b/ui/layers/box_content.h @@ -214,7 +214,7 @@ public: void scrollByDraggingDelta(int delta); - void onScrollToY(int top, int bottom = -1); + void scrollToY(int top, int bottom = -1); protected: virtual void prepare() = 0;