TheOverfloater / pathos-public

Public release of Pathos Engine
MIT License
42 stars 10 forks source link

Sliders drift in Settings menu #1

Closed Kleadron closed 8 months ago

Kleadron commented 8 months ago

After changing and applying a setting in the settings menu that is represented as a slider, it has a chance to drift to a lower value when you open the menu again. Video attached shows the behavior.

https://github.com/TheOverfloater/pathos-public/assets/39423518/565a6329-898a-47cb-a9e6-0515fb6e2bcf

TheOverfloater commented 8 months ago

I've resolved this issue in the commit 0ce5b01 by using proper floating-point variables to calculate the positions of the UI slider buttons. I tested this myself numerous times, and the issue seems to be fixed, hence closing.