Renamed BoxContent::onScrollToY to BoxContent::scrollToY.
This commit is contained in:
parent
c369eb13bf
commit
4ba28e2fec
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue