From 03eca4ac461927e9d053941982d774690ffed176 Mon Sep 17 00:00:00 2001 From: Richard Linden Date: Thu, 1 Dec 2011 10:44:21 -0800 Subject: EXP-1588 FIX Floaters do not snap to edge --- indra/newview/lltoolbarview.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'indra/newview') 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()) { -- cgit v1.2.3