diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2017-07-05 19:34:04 +0300 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2017-07-05 19:34:04 +0300 |
commit | f7f24611c69d64934b4a815636bc4a948fe8ba52 (patch) | |
tree | 38e863314c1d4800758623ee3065a219de4852b6 /indra/llui/llscrollcontainer.h | |
parent | c8fc414ebe3c44af36ae8f34d27758480ba73b1b (diff) |
MAINT-203 Fixed auto-scroll zones being uneven in inventory
Diffstat (limited to 'indra/llui/llscrollcontainer.h')
-rw-r--r-- | indra/llui/llscrollcontainer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llui/llscrollcontainer.h b/indra/llui/llscrollcontainer.h index c4c4d0a136..a2f7d14f1a 100644 --- a/indra/llui/llscrollcontainer.h +++ b/indra/llui/llscrollcontainer.h @@ -114,7 +114,8 @@ public: virtual void draw(); virtual bool addChild(LLView* view, S32 tab_group = 0); - + + bool canAutoScroll(S32 x, S32 y); bool autoScroll(S32 x, S32 y); S32 getSize() const { return mSize; } @@ -128,6 +129,7 @@ private: virtual void scrollHorizontal( S32 new_pos ); virtual void scrollVertical( S32 new_pos ); void updateScroll(); + bool autoScroll(S32 x, S32 y, bool do_scroll); void calcVisibleSize( S32 *visible_width, S32 *visible_height, BOOL* show_h_scrollbar, BOOL* show_v_scrollbar ) const; LLScrollbar* mScrollbar[ORIENTATION_COUNT]; |