summaryrefslogtreecommitdiff
path: root/indra/llui/llresizebar.cpp
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2009-11-20 17:44:53 +0200
committerVadim Savchuk <vsavchuk@productengine.com>2009-11-20 17:44:53 +0200
commitd1ebc5f44d53a47f3e0e849bbaaa4313fd352c01 (patch)
tree472f95680810f22bc2cf82efc5d98fafd55277d3 /indra/llui/llresizebar.cpp
parent7467c005ed3a7269f0247b2551d89c32652953b5 (diff)
parent2d9202cb812dec65ec571035389aacd49d19e659 (diff)
merge
--HG-- branch : product-engine
Diffstat (limited to 'indra/llui/llresizebar.cpp')
-rw-r--r--indra/llui/llresizebar.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llui/llresizebar.cpp b/indra/llui/llresizebar.cpp
index 304ac64f31..a7cf9be277 100644
--- a/indra/llui/llresizebar.cpp
+++ b/indra/llui/llresizebar.cpp
@@ -143,6 +143,12 @@ BOOL LLResizeBar::handleHover(S32 x, S32 y, MASK mask)
if( valid_rect.localPointInRect( screen_x, screen_y ) && mResizingView )
{
+ // undock floater when user resize it
+ if (((LLFloater*)getParent())->isDocked())
+ {
+ ((LLFloater*)getParent())->setDocked(false, false);
+ }
+
// Resize the parent
LLRect orig_rect = mResizingView->getRect();
LLRect scaled_rect = orig_rect;