Skip to content

Conversation

@verygoodlee
Copy link
Contributor

with scale_with_window=no script option, first_match_to_print increases when shrinking the window and no longer decreases when expanding the window, causing empty lines at the bottom of menu and a chain reaction of the script crashing due to the mouse wheel scrolling up.

this commit trys to decrease first_match_to_print when its value is abnormal.

Closes #16682

with `scale_with_window=no` script option, `first_match_to_print`
increases when shrinking the window and no longer decreases when
expanding the window, causing empty lines at the bottom of menu
and a chain reaction of the script crashing due to the mouse wheel
scrolling up.

this commit trys to decrease `first_match_to_print` when its value
is abnormal.

Closes mpv-player#16682
@github-actions
Copy link

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.

console.lua crashes when using input.select() menu

2 participants