diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2017-10-13 17:54:32 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2017-10-13 17:54:32 +0300 |
commit | 252ca2542b8af646295ad51cf7acff31f03754be (patch) | |
tree | fa40815668e299f051fbc73155e24ef3e7cdd90c | |
parent | 788d74507139e6db7037daff619b188264fc2401 (diff) |
MAINT-7890 Floater position drifts across logins after snapping to another floater
-rw-r--r-- | indra/llui/llfloater.cpp | 4 |
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(); |