提交 8aaeedc3 编写于 作者: Y YueBiang

Description: set UIScrollView::MoveOffset protected

IssueNo: https://gitee.com/openharmony/graphic_ui/issues/I48E0X
Feature or Bugfix: Bugfix
Binary Source:No
Signed-off-by: NYueBiang <suyue7@huawei.com>
上级 27fb917a
...@@ -240,10 +240,10 @@ protected: ...@@ -240,10 +240,10 @@ protected:
void StopAnimator() override; void StopAnimator() override;
bool DragXInner(int16_t distance) override; bool DragXInner(int16_t distance) override;
bool DragYInner(int16_t distance) override; bool DragYInner(int16_t distance) override;
bool MoveOffset(int16_t offsetX, int16_t offsetY);
private: private:
void Drag(const DragEvent& event); void Drag(const DragEvent& event);
bool MoveOffset(int16_t offsetX, int16_t offsetY);
void CalculateReboundDistance(int16_t& dragDistanceX, int16_t& dragDistanceY) override; void CalculateReboundDistance(int16_t& dragDistanceX, int16_t& dragDistanceY) override;
void RefreshScrollBar(); void RefreshScrollBar();
OnScrollListener* scrollListener_; OnScrollListener* scrollListener_;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册