diff options
author | Graham Linden <graham@lindenlab.com> | 2013-08-26 14:57:54 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2013-08-26 14:57:54 -0700 |
commit | c50f44e04ed4c14dd19b18421878cc0094cee9b2 (patch) | |
tree | bd7418ba39e5aeac26c31df3b5dd7d4e4b676e73 /indra/llui/llbutton.cpp | |
parent | bf55d287db305907b83909c09bc5842a5a7a709f (diff) | |
parent | 6e1138585bf745f73f0bb99ca62f77eeb273f1e4 (diff) |
Merge viewer-release 3.6.5
Diffstat (limited to 'indra/llui/llbutton.cpp')
-rwxr-xr-x | indra/llui/llbutton.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llui/llbutton.cpp b/indra/llui/llbutton.cpp index a8149a9a1d..44f2c1efe9 100755 --- a/indra/llui/llbutton.cpp +++ b/indra/llui/llbutton.cpp @@ -644,7 +644,7 @@ void LLButton::draw() // Cancel sticking of color, if the button is pressed, // or when a flashing of the previously selected button is ended if (mFlashingTimer - && ((selected && !mFlashingTimer->isFlashingInProgress()) || pressed)) + && ((selected && !mFlashingTimer->isFlashingInProgress() && !mForceFlashing) || pressed)) { mFlashing = false; } @@ -971,8 +971,9 @@ void LLButton::setToggleState(BOOL b) } } -void LLButton::setFlashing(bool b) +void LLButton::setFlashing(bool b, bool force_flashing/* = false */) { + mForceFlashing = force_flashing; if (mFlashingTimer) { mFlashing = b; |