From 03eca4ac461927e9d053941982d774690ffed176 Mon Sep 17 00:00:00 2001
From: Richard Linden <none@none>
Date: Thu, 1 Dec 2011 10:44:21 -0800
Subject: [PATCH] EXP-1588 FIX Floaters do not snap to edge

---
 indra/newview/lltoolbarview.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/indra/newview/lltoolbarview.cpp b/indra/newview/lltoolbarview.cpp
index 5ff0ccfeb21..3872444e8fb 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())
 	{
-- 
GitLab