8bitbubsy / ft2-clone

Fasttracker 2 clone for Windows/macOS/Linux
https://16-bits.org
BSD 3-Clause "New" or "Revised" License
712 stars 48 forks source link

Clicking with mouse increments settings too fast #36

Open nickedyer opened 2 years ago

nickedyer commented 2 years ago

I'm running Pop_OS! and whenever I click on a setting to increment it up or down it increments far too fast for me to be precise. Settings such as BPM, speed, pattern, anything to do with the GUI is incredibly difficult to get to a specific value. I've tried both the pre-compiled binaries and building it from source myself and they both yield the same result.

nickedyer commented 2 years ago

I figured it out, it's a problem with my system and VSync not working correctly. Without it working properly the program was running at ~1000FPS and since the calculation is done based on frames it skipped right over the waiting period and skyrocketed. Toggling the VSync off flag has fixed the issue. Would an implementation of changing the calculation for the buttons to use delta timing rather than frame timing be on the table?

8bitbubsy commented 1 year ago

Would an implementation of changing the calculation for the buttons to use delta timing rather than frame timing be on the table?

Not really, it would require a massive rewrite... But it would be a good idea, yeah.