diff options
| author | Richard Linden <none@none> | 2013-07-08 00:55:17 -0700 |
|---|---|---|
| committer | Richard Linden <none@none> | 2013-07-08 00:55:17 -0700 |
| commit | d122318bef2ff0eced7641dc24f411f792bd2935 (patch) | |
| tree | 7c5bfc2c60058d6f87ad9c18c08f844424f3efc9 /indra/newview/llfloaterjoystick.cpp | |
| parent | bc7d2b76961c0397dcd108e625db4304855f4539 (diff) | |
SH-4299 WIP: Interesting: High fps shown temporarily off scale in statistics console
added percentage/ratio units
added auto-range and auto tick calculation to stat bar to automate display stats
Diffstat (limited to 'indra/newview/llfloaterjoystick.cpp')
| -rwxr-xr-x | indra/newview/llfloaterjoystick.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloaterjoystick.cpp b/indra/newview/llfloaterjoystick.cpp index b71ab4c53b..adcecbbb7a 100755 --- a/indra/newview/llfloaterjoystick.cpp +++ b/indra/newview/llfloaterjoystick.cpp @@ -85,7 +85,7 @@ void LLFloaterJoystick::draw() if (llabs(value) > maxbar) { F32 range = llabs(value); - mAxisStatsBar[i]->setRange(-range, range, range * 0.25f); + mAxisStatsBar[i]->setRange(-range, range); } } } @@ -106,7 +106,7 @@ BOOL LLFloaterJoystick::postBuild() if (mAxisStatsBar[i]) { mAxisStatsBar[i]->setStat(stat_name); - mAxisStatsBar[i]->setRange(-range, range, range * 0.25f); + mAxisStatsBar[i]->setRange(-range, range); } } |
