-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mouse cursor missing after using debug console #1775
Comments
Huh... I don't think this has always been the case, must've broken at some point. |
I've noticed this a whole bunch! I thought I was being crazy! |
Looks like this has actually been happening for a while (at least 3.3.12 - unfortunately it's difficult to go back further than that because of breaking changes in both OpenFL and Haxe). |
There are actually multiple different issues here. One of them is the fact that the debugger always sets The simplest solution would be to get rid of this "switch between Flixel and system cursor" behavior (always seemed somewhat annoying to me anyway) and render the Flixel cursor on top of the debugger. However, that's not really an option, since the mouse cursor still needs to work when the game is paused via the VCR buttons in the debugger - since that pauses the updating of |
For the record, I don't use any custom cursor...maybe I misunderstood though |
could store all user's mouse properties when open the console and restore when close? |
That's more or less what I've done in a commit I haven't pushed yet.. Not when closing the debugger though, but when any debugger component loses focus. |
… cursors related to HaxeFlixel#1775
Only happened on Flash with the native cursor API. closes HaxeFlixel#1775
Steps to reproduce
Observed behavior: mouse cursor is permanently gone
Expected behavior: mouse cursor should be unaffected by this
The text was updated successfully, but these errors were encountered: