summaryrefslogtreecommitdiff
path: root/indra/newview/llnearbychat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llnearbychat.cpp')
-rw-r--r--indra/newview/llnearbychat.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llnearbychat.cpp b/indra/newview/llnearbychat.cpp
index c89715e815..2683109829 100644
--- a/indra/newview/llnearbychat.cpp
+++ b/indra/newview/llnearbychat.cpp
@@ -54,6 +54,8 @@
#include "llviewertexteditor.h"
#include "llstylemap.h"
+#include "lldraghandle.h"
+
static const S32 RESIZE_BAR_THICKNESS = 3;
@@ -88,6 +90,8 @@ BOOL LLNearbyChat::postBuild()
mResizeHandle[2]->setVisible(false);
mResizeHandle[3]->setVisible(false);
+ getDragHandle()->setVisible(false);
+
//menu
LLUICtrl::CommitCallbackRegistry::ScopedRegistrar registrar;
LLUICtrl::EnableCallbackRegistry::ScopedRegistrar enable_registrar;
@@ -415,6 +419,8 @@ void LLNearbyChat::pinn_panel()
mResizeBar[LLResizeBar::LEFT]->setVisible(false);
mResizeBar[LLResizeBar::RIGHT]->setVisible(false);
+ getDragHandle()->setVisible(false);
+
}
void LLNearbyChat::float_panel()
@@ -427,6 +433,8 @@ void LLNearbyChat::float_panel()
mResizeBar[LLResizeBar::LEFT]->setVisible(true);
mResizeBar[LLResizeBar::RIGHT]->setVisible(true);
+ getDragHandle()->setVisible(true);
+
translate(4,4);
}