UnleashedRecomp
UnleashedRecomp copied to clipboard
Fix Options Menu sliders being frame-dependent at lower framerates
Options menu sliders use their local deltaTime values to determine the fastIncrement logic, which causes issues at low framerates. Changed the logic to use a persistent variable and fixed a few related bugs (such as 1/119 dT and 1/120 INCREMENT_TIME causing two increments)
@DarioSamo marked you for reviews as I think your expertise regarding frame rate dependent bugs could be used here.
Framerate independence looks good to me. Double checking that someone else tests if it works as intended.