Skip to content

ShowCursor does not disable controls #1034

@Cyber52

Description

@Cyber52

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions