summaryrefslogtreecommitdiff
path: root/indra/llui/llfolderview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llui/llfolderview.cpp')
-rw-r--r--indra/llui/llfolderview.cpp5
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)