diff options
author | Richard Linden <none@none> | 2012-08-22 19:34:28 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2012-08-22 19:34:28 -0700 |
commit | cf498ad1dec06221f0843097ef4b4b1161d9826c (patch) | |
tree | 83247335b892e50852b6033982f2a17f09396710 /indra/llui/llresizebar.cpp | |
parent | f93b94daa978e1bcf1897e0459fa8700f58d62d1 (diff) |
MAINT-1416 FIXED Close Mini-map floater after Ctrl-W if it's opened and other floaters are not in focus
changed fix to always close front most closable floater whether or not it has focus to
eliminate special case for mini map
Diffstat (limited to 'indra/llui/llresizebar.cpp')
-rw-r--r-- | indra/llui/llresizebar.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/indra/llui/llresizebar.cpp b/indra/llui/llresizebar.cpp index 87aeb4d7a7..85e0aba824 100644 --- a/indra/llui/llresizebar.cpp +++ b/indra/llui/llresizebar.cpp @@ -139,13 +139,6 @@ BOOL LLResizeBar::handleHover(S32 x, S32 y, MASK mask) if( valid_rect.localPointInRect( screen_x, screen_y ) && mResizingView ) { - // undock floater when user resize it - LLFloater* parent = dynamic_cast<LLFloater*>( getParent()); - if (parent && parent->isDocked()) - { - parent->setDocked( false, false); - } - // Resize the parent LLRect orig_rect = mResizingView->getRect(); LLRect scaled_rect = orig_rect; |