diff options
author | Richard Linden <none@none> | 2011-12-01 10:44:21 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2011-12-01 10:44:21 -0800 |
commit | 03eca4ac461927e9d053941982d774690ffed176 (patch) | |
tree | 79d3467a1431bb8938523809cc76d94c6b22a510 /indra/newview | |
parent | 0c54cf51db0c1a6e0b2ac91d69b2646570b168eb (diff) |
EXP-1588 FIX Floaters do not snap to edge
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/lltoolbarview.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/lltoolbarview.cpp b/indra/newview/lltoolbarview.cpp index 5ff0ccfeb2..3872444e8f 100644 --- a/indra/newview/lltoolbarview.cpp +++ b/indra/newview/lltoolbarview.cpp @@ -530,6 +530,11 @@ void LLToolBarView::draw() } } + for (S32 i = TOOLBAR_FIRST; i <= TOOLBAR_LAST; i++) + { + mToolbars[i]->getParent()->setVisible(mToolbars[i]->hasButtons() || isToolDragged()); + } + // Draw drop zones if drop of a tool is active if (isToolDragged()) { |