From d43e33400a2ef9d89ed6d13067055b5b1edbde78 Mon Sep 17 00:00:00 2001 From: Alexei Arabadji Date: Tue, 17 Nov 2009 14:33:07 +0200 Subject: implemented EXT-2515 "Docked floaters should be resizeable"; --HG-- branch : product-engine --- indra/llui/lldockablefloater.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'indra/llui/lldockablefloater.cpp') diff --git a/indra/llui/lldockablefloater.cpp b/indra/llui/lldockablefloater.cpp index c3dd4ae647..9be3d49023 100644 --- a/indra/llui/lldockablefloater.cpp +++ b/indra/llui/lldockablefloater.cpp @@ -217,6 +217,16 @@ void LLDockableFloater::draw() LLFloater::draw(); } +void LLDockableFloater::reshape(S32 width, S32 height, BOOL called_from_parent) +{ + if (isDocked()) + { + setDocked(false); + } + + LLFloater::reshape(width, height, called_from_parent); +} + void LLDockableFloater::setDockControl(LLDockControl* dockControl) { mDockControl.reset(dockControl); -- cgit v1.2.3