summaryrefslogtreecommitdiff
path: root/indra/llui/llbutton.cpp
diff options
context:
space:
mode:
authorGraham Madarasz (Graham Linden) <graham@lindenlab.com>2013-03-14 14:01:39 -0700
committerGraham Madarasz (Graham Linden) <graham@lindenlab.com>2013-03-14 14:01:39 -0700
commit85257154a3ba001ecadacf4d81baa6f9c187a041 (patch)
tree377f6fdffb3e8b479b5ba9f6fb0f80822ee67cc9 /indra/llui/llbutton.cpp
parentf061b2b90e34d74b9c6db3606babb0402473a24d (diff)
Rollback fix for Maestro 'Jitter Bug' which is causing issues elsewhere
Diffstat (limited to 'indra/llui/llbutton.cpp')
-rw-r--r--indra/llui/llbutton.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/llui/llbutton.cpp b/indra/llui/llbutton.cpp
index 3dfcb3ffa1..705fe16559 100644
--- a/indra/llui/llbutton.cpp
+++ b/indra/llui/llbutton.cpp
@@ -758,11 +758,11 @@ void LLButton::draw()
mCurGlowStrength = lerp(mCurGlowStrength,
mFlashing ? (flash? 1.0 : 0.0)
: mHoverGlowStrength,
- LLCriticalDamp::getInterpolant(InterpDeltaTeeny));
+ LLCriticalDamp::getInterpolant(0.05f));
}
else
{
- mCurGlowStrength = lerp(mCurGlowStrength, 0.f, LLCriticalDamp::getInterpolant(InterpDeltaTeeny));
+ mCurGlowStrength = lerp(mCurGlowStrength, 0.f, LLCriticalDamp::getInterpolant(0.05f));
}
// Draw button image, if available.
@@ -1247,4 +1247,3 @@ BOOL LLButton::handleDoubleClick(S32 x, S32 y, MASK mask)
// just treat a double click as a second click
return handleMouseDown(x, y, mask);
}
-