summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2017-10-13 17:54:32 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2017-10-13 17:54:32 +0300
commit252ca2542b8af646295ad51cf7acff31f03754be (patch)
treefa40815668e299f051fbc73155e24ef3e7cdd90c
parent788d74507139e6db7037daff619b188264fc2401 (diff)
MAINT-7890 Floater position drifts across logins after snapping to another floater
-rw-r--r--indra/llui/llfloater.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp
index 3ece1c12bf..a245dd8f78 100644
--- a/indra/llui/llfloater.cpp
+++ b/indra/llui/llfloater.cpp
@@ -1145,11 +1145,11 @@ void LLFloater::handleReshape(const LLRect& new_rect, bool by_user)
{
setDocked( false, false);
}
- storeRectControl();
mPositioning = LLFloaterEnums::POSITIONING_RELATIVE;
LLRect screen_rect = calcScreenRect();
mPosition = LLCoordGL(screen_rect.getCenterX(), screen_rect.getCenterY()).convert();
- }
+ }
+ storeRectControl();
// gather all snapped dependents
for(handle_set_iter_t dependent_it = mDependents.begin();