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.
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.