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

Change beat snap divisor adjust defaults to be Ctrl+Scroll instead of Ctrl+Shift+Scroll #31147

Merged
merged 6 commits into from
Dec 24, 2024

Conversation

peppy
Copy link
Member

@peppy peppy commented Dec 16, 2024

Matches stable.

…f Ctrl+Shift+Scroll

Matches stable.

- [ ] Depends on ppy#31146, else this will
adjust the global volume.
@peppy peppy changed the title Change beat snap divisior adjust defaults to be Ctrl+Scroll instead of Ctrl+Shift+Scroll Change beat snap divisor adjust defaults to be Ctrl+Scroll instead of Ctrl+Shift+Scroll Dec 16, 2024
Comment on lines 147 to 148
new KeyBinding(new[] { InputKey.Control, InputKey.MouseWheelRight }, GlobalAction.EditorCyclePreviousBeatSnapDivisor),
new KeyBinding(new[] { InputKey.Control, InputKey.MouseWheelLeft }, GlobalAction.EditorCycleNextBeatSnapDivisor),
Copy link
Collaborator

Choose a reason for hiding this comment

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

First of all, see comment preceding - with Shift removed this should presumably become

Suggested change
new KeyBinding(new[] { InputKey.Control, InputKey.MouseWheelRight }, GlobalAction.EditorCyclePreviousBeatSnapDivisor),
new KeyBinding(new[] { InputKey.Control, InputKey.MouseWheelLeft }, GlobalAction.EditorCycleNextBeatSnapDivisor),
new KeyBinding(new[] { InputKey.Control, InputKey.MouseWheelUp }, GlobalAction.EditorCyclePreviousBeatSnapDivisor),
new KeyBinding(new[] { InputKey.Control, InputKey.MouseWheelDown }, GlobalAction.EditorCycleNextBeatSnapDivisor),

and the comment should be gone.

Secondly, this change won't actually have any effect for anyone who's launched the game before. For these types of changes we've typically bundled realm migrations to change the defaults for users post-facto.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah I wasn't sure if we want to migrate existing users. If you think that's best I'll add migrations.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Nobody has complained about the past migrations (likely because they were written smart, i.e. user customisations were not overwritten), so I'd say it'd be a good thing to have them.

Copy link
Member Author

Choose a reason for hiding this comment

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

Both issues should be resolved, thanks.

@bdach bdach enabled auto-merge December 24, 2024 07:22
@bdach bdach merged commit 2211a4d into ppy:master Dec 24, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants