diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-08-14 01:06:48 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-08-14 01:06:48 +0300 |
commit | e67e9f63c30555467ac6a381e229e45150fb2509 (patch) | |
tree | 259d9e84ddac3cb5f8ebbf4b370d1c4a3930c8f7 /indra/llui/lllayoutstack.cpp | |
parent | a62a0fc62ce961dd570eefbe37eda51e50310df6 (diff) |
SL-13293 Fixed reshape behavior for scale change
Diffstat (limited to 'indra/llui/lllayoutstack.cpp')
-rw-r--r-- | indra/llui/lllayoutstack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lllayoutstack.cpp b/indra/llui/lllayoutstack.cpp index 4aae1e374b..29a156e933 100644 --- a/indra/llui/lllayoutstack.cpp +++ b/indra/llui/lllayoutstack.cpp @@ -166,7 +166,7 @@ void LLLayoutPanel::setVisible( BOOL visible ) void LLLayoutPanel::reshape( S32 width, S32 height, BOOL called_from_parent /*= TRUE*/ ) { - if (width == getRect().getWidth() && height == getRect().getHeight()) return; + if (width == getRect().getWidth() && height == getRect().getHeight() && !LLView::sForceReshape) return; if (!mIgnoreReshape && mAutoResize == false) { |