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

console.lua: disable cursor autohide while selector is open #15822

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

verygoodlee
Copy link
Contributor

This is an improvement on #15145 .
If the cursor is automatically hidden, users may not know whether they are clicking on the inside or outside of selectable items, the result after clicking is unclear to them.

This is an improvement on mpv-player#15145 .
If the cursor is automatically hidden, users may not know whether
they are clicking on the inside or outside of selectable items, 
the result after clicking is unclear to them.
@guidocella
Copy link
Contributor

I'm not sure if this is needed anyway but note that I already implemented a proper background with a horizontal hitbox so you can close by clicking outside of it horizontally, I'm just waiting for #15711 to be merged:

screenshot

We can then unbind right click like you asked if wanted.

Copy link

github-actions bot commented Feb 7, 2025

Download the artifacts for this pull request:

Windows
macOS

@verygoodlee
Copy link
Contributor Author

this looks pretty nice, similar to uosc, I have just tried the uosc and the cursor cannot be hidden while menu is open.

@guidocella
Copy link
Contributor

Yeah I blatantly copied uosc's menu since it looked better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants