summaryrefslogtreecommitdiff
path: root/indra/llui/llbutton.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-03-27 19:05:23 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-03-27 22:38:15 +0200
commiteaa9b152bfe9b5da44f724ddce1a2ecc86dc61bf (patch)
tree55d78528f5560a5b73dd3a5e87b68a7dc04181f8 /indra/llui/llbutton.cpp
parent9ec2aac56c0e1a60ad8dbf6549b8a3cf7efec570 (diff)
SL-307 Implemented ability to specify color and changed flashing color
Diffstat (limited to 'indra/llui/llbutton.cpp')
-rw-r--r--indra/llui/llbutton.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llbutton.cpp b/indra/llui/llbutton.cpp
index 27444b7f5b..804204cce0 100644
--- a/indra/llui/llbutton.cpp
+++ b/indra/llui/llbutton.cpp
@@ -734,6 +734,11 @@ void LLButton::draw()
{
glow_color = highlighting_color;
}
+ else
+ {
+ // will fade from highlight color
+ glow_color = flash_color;
+ }
}
}