diff --git a/interfaces/kits/components/ui_scroll_view.h b/interfaces/kits/components/ui_scroll_view.h index 1ea446af6ff0b5f6452229cf94aed5c67ff8f705..3ad3579fa7125ba751ce2182e36a36b09ab1a2f9 100755 --- a/interfaces/kits/components/ui_scroll_view.h +++ b/interfaces/kits/components/ui_scroll_view.h @@ -240,10 +240,10 @@ protected: void StopAnimator() override; bool DragXInner(int16_t distance) override; bool DragYInner(int16_t distance) override; + bool MoveOffset(int16_t offsetX, int16_t offsetY); private: void Drag(const DragEvent& event); - bool MoveOffset(int16_t offsetX, int16_t offsetY); void CalculateReboundDistance(int16_t& dragDistanceX, int16_t& dragDistanceY) override; void RefreshScrollBar(); OnScrollListener* scrollListener_;