summaryrefslogtreecommitdiff
path: root/indra/llui/llresizehandle.cpp
diff options
context:
space:
mode:
authorSteve Bennetts <steve@lindenlab.com>2009-11-18 14:24:41 -0800
committerSteve Bennetts <steve@lindenlab.com>2009-11-18 14:24:41 -0800
commitdd9f2ca5f555d529d8f8b6168115ca3d3155fac7 (patch)
tree5c73fc1f5275df0c5546f2bc1dc85e0f4e83e40f /indra/llui/llresizehandle.cpp
parentbecfbd2b8295e3007fe151cd9b69d0af139040e2 (diff)
parenta27706ad2e42718ad107e25fe7c29f1c0513fabc (diff)
Merge from product-engine
Diffstat (limited to 'indra/llui/llresizehandle.cpp')
-rw-r--r--indra/llui/llresizehandle.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llui/llresizehandle.cpp b/indra/llui/llresizehandle.cpp
index 7449c339a0..6239a8f721 100644
--- a/indra/llui/llresizehandle.cpp
+++ b/indra/llui/llresizehandle.cpp
@@ -135,6 +135,12 @@ BOOL LLResizeHandle::handleHover(S32 x, S32 y, MASK mask)
LLView* resizing_view = getParent();
if( resizing_view )
{
+ // undock floater when user resize it
+ if (((LLFloater*)getParent())->isDocked())
+ {
+ ((LLFloater*)getParent())->setDocked(false, false);
+ }
+
// Resize the parent
LLRect orig_rect = resizing_view->getRect();
LLRect scaled_rect = orig_rect;