diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-04-14 19:02:29 +0300 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2025-04-15 00:34:51 +0300 |
commit | 207ef20e9e7a42d15e553b6b2c22048bf0ef04d1 (patch) | |
tree | 98a0c5018a351da8fa6f468974e0253a0be73ab5 /indra/llui/llfolderview.cpp | |
parent | 1f17536cc8b0922ade8c68046ee1665ccec817d9 (diff) |
#3897 Fix favorite's stars being hidden in some cases
Diffstat (limited to 'indra/llui/llfolderview.cpp')
-rw-r--r-- | indra/llui/llfolderview.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llfolderview.cpp b/indra/llui/llfolderview.cpp index b664065532..dc1b81666a 100644 --- a/indra/llui/llfolderview.cpp +++ b/indra/llui/llfolderview.cpp @@ -1693,6 +1693,11 @@ LLRect LLFolderView::getVisibleRect() return visible_rect; } +S32 LLFolderView::getVisibleContentWidth() +{ + return (mScrollContainer ? mScrollContainer->getVisibleContentRect().getWidth() : 0); +} + bool LLFolderView::getShowSelectionContext() { if (mShowSelectionContext) |