Skip to content

fix: match default bindings on Command only, not Command+Comment#787

Open
Noethix55555 wants to merge 1 commit into
mpvnet-player:mainfrom
Noethix55555:fix/inputconf-dedup-command-only
Open

fix: match default bindings on Command only, not Command+Comment#787
Noethix55555 wants to merge 1 commit into
mpvnet-player:mainfrom
Noethix55555:fix/inputconf-dedup-command-only

Conversation

@Noethix55555

Copy link
Copy Markdown

InputConf.GetContent merged a conf binding back into the defaults list only when both Command and Comment matched. A user who added a comment to a default binding would never match, causing the binding to appear twice in the input editor.

Match on Command alone, consistent with how mpv identifies bindings.

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.

1 participant