Caraxi / SimpleTweaksPlugin

GNU Affero General Public License v3.0
161 stars 139 forks source link

`[Hide Mouse After Inactivity]` Fix tweak config option "Hide After" … #816

Closed ryankhart closed 2 months ago

ryankhart commented 3 months ago

…setting

Also removed incorrect tweak category label

Caraxi commented 3 months ago

I'm not sure what this is fixing?

ryankhart commented 2 months ago

On the live version that I had updated for 7.0, there is no way for the user to set a custom "Hide After" setting for inactivity time. I did not catch this bug myself because I had already customized it to my preference of 3 seconds from before, so when I updated and tested it, everything seemed fine. I noticed later that there was no way to change that inactivity time.

The new TweakAutoConfig options, to the best of my knowledge, doesn't have an auto-config control UI for variables that are floats. But there are two options for int variables. I initially started trying to make floats work again, but then I realized, I could just change seconds to milliseconds and be able to store it as an int, which works as is with far less additional code.

Sorry that I didn't make this more clear from my pull request.