Biendeo / My-Clone-Hero-Tweaks

Tweaks to Clone Hero that I've made
GNU General Public License v3.0
15 stars 5 forks source link

All tweak config windows don't show the cursor if it ever hides #21

Closed Biendeo closed 4 years ago

Biendeo commented 4 years ago

If the user ever hides the mouse cursor in Clone Hero, the cursor is not visible whenever they try to open up a config window, making it very difficult to use the menus.

The proposed solution is to detect whether the mouse was visible or not when the window is opened, and the set its visibility to true. Then, when the window is closed, if the mouse should be invisible, it will be set to that (otherwise ignore setting it). This has the unavoidable side effect of any sequential config windows from other tweaks will not try and hide the mouse when they're closed, even if they're the last ones to be closed. Also the first config window to open will hide the cursor when closed regardless. However, these are easily remedied by the fact that closing and reopening any config window will correct the problem, which is a more usable state than before.

Biendeo commented 4 years ago

Solved in ac957e6.