diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-09-03 17:22:04 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-09-04 10:16:46 +0300 |
commit | 2fc8d5ff3cfa1b9ad00b310cd4a6cdb557b9415c (patch) | |
tree | dee2f7f1e0f545c51c7c22fd777731cae8cd8161 /indra/llui/llbutton.cpp | |
parent | 4cc0edb189c4deaa205f986d20a6959aa83fb25c (diff) |
viewer#2411 Cleanup #2
Diffstat (limited to 'indra/llui/llbutton.cpp')
-rw-r--r-- | indra/llui/llbutton.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/indra/llui/llbutton.cpp b/indra/llui/llbutton.cpp index 387d2c0d07..1bce31edb1 100644 --- a/indra/llui/llbutton.cpp +++ b/indra/llui/llbutton.cpp @@ -427,18 +427,6 @@ void LLButton::onVisibilityChange(bool new_visibility) return LLUICtrl::onVisibilityChange(new_visibility); } -void LLButton::reshape(S32 width, S32 height, bool called_from_parent) -{ - S32 delta_width = width - getRect().getWidth(); - S32 delta_height = height - getRect().getHeight(); - - if (delta_width || delta_height || sForceReshape) - { - LLUICtrl::reshape(width, height, called_from_parent); - mFontBuffer.reset(); - } -} - void LLButton::dirtyRect() { LLUICtrl::dirtyRect(); |