summaryrefslogtreecommitdiff
path: root/indra/llui/llcontainerview.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-03-21 00:37:20 -0700
committerRichard Linden <none@none>2013-03-21 00:37:20 -0700
commit1f507c3cfca0c7722ebeaf71883fbaa83988e1a9 (patch)
treec944ece26361162c2e405c710643fc43e3bc022d /indra/llui/llcontainerview.cpp
parent452d3350a241695d962dc58403ce4e35541b6353 (diff)
SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
copied over scene load frame differencing changes from viewer-interesting made periodicrecording flexible enough to allow for indefinite number of periods added scene loading stats floater fixed collapsing behavior of container views
Diffstat (limited to 'indra/llui/llcontainerview.cpp')
-rw-r--r--indra/llui/llcontainerview.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/llui/llcontainerview.cpp b/indra/llui/llcontainerview.cpp
index e08ccb0b78..06f8e72c9c 100644
--- a/indra/llui/llcontainerview.cpp
+++ b/indra/llui/llcontainerview.cpp
@@ -49,7 +49,6 @@ LLContainerView::LLContainerView(const LLContainerView::Params& p)
mLabel(p.label),
mDisplayChildren(p.display_children)
{
- mCollapsible = TRUE;
mScrollContainer = NULL;
}
@@ -75,6 +74,11 @@ bool LLContainerView::addChild(LLView* child, S32 tab_group)
return res;
}
+BOOL LLContainerView::handleDoubleClick(S32 x, S32 y, MASK mask)
+{
+ return handleMouseDown(x, y, mask);
+}
+
BOOL LLContainerView::handleMouseDown(S32 x, S32 y, MASK mask)
{
BOOL handled = FALSE;
@@ -84,7 +88,7 @@ BOOL LLContainerView::handleMouseDown(S32 x, S32 y, MASK mask)
}
if (!handled)
{
- if( mCollapsible && mShowLabel && (y >= getRect().getHeight() - 10) )
+ if( mShowLabel && (y >= getRect().getHeight() - 10) )
{
setDisplayChildren(!mDisplayChildren);
reshape(getRect().getWidth(), getRect().getHeight(), FALSE);