Skip to content
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

ShowCursor does not disable controls #1034

Open
Cyber52 opened this issue Jul 31, 2019 · 0 comments
Open

ShowCursor does not disable controls #1034

Cyber52 opened this issue Jul 31, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@Cyber52
Copy link

Cyber52 commented Jul 31, 2019

Describe the bug
When we set cursor to be showd without disabling controls and after it we do the same but with disabling controls, controls wont be disabled. To get around it you have to hide cursor and then show cursor. I think it should not happen when we set disableControls to true.

To reproduce
Steps to reproduce the behaviour:

showCursor(true, false)
showCursor(true, true)

Expected behaviour
Like the wiki says: "toggleControls: A boolean value determining whether to disable controls whilst the cursor is showing. true implies controls are disabled, false implies controls remain enabled."

When we do use showCursor twice in 2 resources and the first one disables controls and the second doesnt the showCursor(false) command should know if the resource disabled controls or not so when we hide cursor using only first resource the cursor still will be visible but controls will not be disabled.

Version
1.5.6, windows 8.1

Additional context
I was bringing it up on Discord server, and this Is what staff sad:
image
This is the link:

if (bShow != m_bShowingCursor)

@Cyber52 Cyber52 added the bug Something isn't working label Jul 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant