diff options
author | Yuri Chebotarev <ychebotarev@productengine.com> | 2009-12-21 18:15:44 +0200 |
---|---|---|
committer | Yuri Chebotarev <ychebotarev@productengine.com> | 2009-12-21 18:15:44 +0200 |
commit | aa56836ab7537e3afad53c03da455e2e7dacb87a (patch) | |
tree | 80e69a9c4405288ed428042b1e30330d91e6736d /indra/llui/llflatlistview.h | |
parent | c353e640fa80a335be741dd0edfdc9952ea3cdea (diff) |
additional fix for (EXT-3601) Accordion Ctrl didn't autoscroll to accordion header while navigating with keyboard
there was no autoscroll when scrolled by keyboard to _last_ of _first_ item in LLFlatListView.
--HG--
branch : product-engine
Diffstat (limited to 'indra/llui/llflatlistview.h')
-rw-r--r-- | indra/llui/llflatlistview.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/llflatlistview.h b/indra/llui/llflatlistview.h index ba824ff2df..26e84a6fe1 100644 --- a/indra/llui/llflatlistview.h +++ b/indra/llui/llflatlistview.h @@ -359,6 +359,8 @@ protected: LLRect getSelectedItemsRect(); + void ensureSelectedVisible(); + private: void setItemsNoScrollWidth(S32 new_width) {mItemsNoScrollWidth = new_width - 2 * mBorderThickness;} |