diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-10-26 02:01:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-26 02:01:11 +0300 |
commit | 272da5c01abd84f5e39ac3396e4e10ebe73b40b0 (patch) | |
tree | 4c7c6bf5ff986a46ab2ac7be76a62c41f7819ef7 /indra/llui/llfloater.cpp | |
parent | 29dd53310ad35f297ea10c9a73745298d214a7d5 (diff) |
SL-20401 FIXED Popping out conversation floater second time moves location
Diffstat (limited to 'indra/llui/llfloater.cpp')
-rw-r--r-- | indra/llui/llfloater.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp index 2303cd24b7..c67db54ea6 100644 --- a/indra/llui/llfloater.cpp +++ b/indra/llui/llfloater.cpp @@ -1772,6 +1772,8 @@ void LLFloater::onClickTearOff(LLFloater* self) { if (self->mSaveRect) { + LLRect screen_rect = self->calcScreenRect(); + self->mPosition = LLCoordGL(screen_rect.getCenterX(), screen_rect.getCenterY()).convert(); self->storeRectControl(); } self->setMinimized(FALSE); // to reenable minimize button if it was minimized |