SL-18296 FIXED 'Start' button is till toggled when desired FPS is reached
parent
56c8723332
commit
82572f0ed4
|
|
@ -194,6 +194,12 @@ void LLFloaterPerformance::draw()
|
|||
populateObjectList();
|
||||
}
|
||||
|
||||
auto button = getChild<LLButton>("AutoTuneFPS");
|
||||
if((bool)button->getToggleState() != LLPerfStats::tunables.userAutoTuneEnabled)
|
||||
{
|
||||
button->toggleState();
|
||||
}
|
||||
|
||||
mUpdateTimer->setTimerExpirySec(REFRESH_INTERVAL);
|
||||
}
|
||||
LLFloater::draw();
|
||||
|
|
|
|||
Loading…
Reference in New Issue