From aa4ad2e95da5207a1250ca5fd23f7f0e6528a44e Mon Sep 17 00:00:00 2001 From: Mnikolenko Productengine Date: Wed, 25 Feb 2026 00:24:15 +0200 Subject: Floaters and UI controls adjustments #2 --- indra/llui/llfocusmgr.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'indra/llui/llfocusmgr.cpp') diff --git a/indra/llui/llfocusmgr.cpp b/indra/llui/llfocusmgr.cpp index 7544a44478..ce0e8036e7 100644 --- a/indra/llui/llfocusmgr.cpp +++ b/indra/llui/llfocusmgr.cpp @@ -464,6 +464,11 @@ F32 LLFocusMgr::getFocusFlashAmt() const return clamp_rescale(mFocusFlashTimer.getElapsedTimeF32(), 0.f, FOCUS_FADE_TIME, 1.f, 0.f); } +S32 LLFocusMgr::getFocusFlashWidth() const +{ + return ll_round(lerp(1.f, 2.f, getFocusFlashAmt())); +} + LLColor4 LLFocusMgr::getFocusColor() const { static LLUIColor focus_color_cached = LLUIColorTable::instance().getColor("FocusColor"); -- cgit v1.3