Skip to content

osc.lua: make buttons clickable from the horizontal edges#17736

Merged
kasper93 merged 1 commit intompv-player:masterfrom
guidocella:fitts
Apr 17, 2026
Merged

osc.lua: make buttons clickable from the horizontal edges#17736
kasper93 merged 1 commit intompv-player:masterfrom
guidocella:fitts

Conversation

@guidocella
Copy link
Copy Markdown
Contributor

Since changing the width and alignment of buttons shrinks them or messes up the layout, manually override the hitbox of buttons at the edges.

Fixes #9791.

Mostly generated by Claude.

Since changing the width and alignment of buttons shrinks them or messes
up the layout, manually override the hitbox of buttons at the edges.

Fixes mpv-player#9791.
Copy link
Copy Markdown
Member

@kasper93 kasper93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok.

@kasper93 kasper93 merged commit 18f83bc into mpv-player:master Apr 17, 2026
29 checks passed
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.

Respect Fitts's Law when in full screen

2 participants