summaryrefslogtreecommitdiff
path: root/indra/llui/llbutton.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2026-02-25 00:24:15 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2026-02-25 00:24:15 +0200
commitaa4ad2e95da5207a1250ca5fd23f7f0e6528a44e (patch)
treeea42898b66c02a141bd0b7dd8d9c8379d8ffb2a5 /indra/llui/llbutton.cpp
parent8e9a7187eb231b22f8c4fdc52227c2f09f0d507e (diff)
Floaters and UI controls adjustments #2
Diffstat (limited to 'indra/llui/llbutton.cpp')
-rw-r--r--indra/llui/llbutton.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/llui/llbutton.cpp b/indra/llui/llbutton.cpp
index 0048c44189..3a3616c905 100644
--- a/indra/llui/llbutton.cpp
+++ b/indra/llui/llbutton.cpp
@@ -842,8 +842,7 @@ void LLButton::draw()
// overlay with keyboard focus border
if (hasFocus())
{
- F32 lerp_amt = gFocusMgr.getFocusFlashAmt();
- drawBorder(imagep, gFocusMgr.getFocusColor() % alpha, ll_round(lerp(1.f, 3.f, lerp_amt)));
+ drawBorder(imagep, gFocusMgr.getFocusColor() % alpha, gFocusMgr.getFocusFlashWidth());
}
if (use_glow_effect)