-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Add ability to cycle slider control point types via keyboard #28509
Conversation
…ntrol point on a slider
Double-click to create a new segment is something that blew over from stable, so mappers coming from stable should be familiar with that flow. That being said I'm not against adding a hotkey for this. It saves clicks in case you want to make a lot of segments, but it might as well go unnoticed until you look into the source. I tried out the changes and I like the ability to press Tab to cycle anchor type over the context menu already, but I did find myself never using the Shift-Tab to cycle backwards and instead just pressed Tab until I got the type I'm looking for. I don't think you can reasonably optimize your keypresses by using the Shift-Tab to cycle backwards because its hard to predict the what control point types are in the cycle and how many keypresses is going to get you to the type you want. It might be preferrable to have specific hotkeys for each control point type, for example Tab+number keys. |
Considered this but I dunno. Q~P row is taken by tool selection, Z~M row is taken by playback hotkeys, so pretty much only the A~L row or the numbers are left. Tab + number seems like a very weird combination and will be annoying to support properly, would rather do an actual modifier like Shift, Ctrl or Alt w/ a number if anything. |
I agree. Shift, Ctrl or Alt w/ a number are all reasonable options. Shift+number seems to already control the beat snap divisor but it might be fine to overwrite if a slider control point is selected because slider control points can not be beat snapped. Otherwise Alt+number seems like the most comfortable option, because you can reach Alt quite easily with your thumb. |
I've implemented this.
|
Yeah this is awesome. It's really easy to change control point types now.
Also these hotkeys should work when multiple control points are selected, mirroring functionality of using the context menu. |
Could we show the bindings somewhere on the screen to make the user aware of them? Especially the "S for new segment". Either:
|
Addressed this but in a slightly different way (inherited is alt-5 now). Rationale is that I really wanna keep these consistent between placement & selection and I don't like starting the placement ones at alt-2.
Is fixed.
I did a jank tooltip to avoid inventing new UI. I would have liked to split lines on the tooltip but that is... difficult, for structural reasons (that tooltip there is not easily customisable without deriving 3 other components). |
I made a couple of changes here:
2024-07-04.00.23.00.mp4@bdach requesting a check of the last two commits since I changed a considerable amount of code. |
Changes look good to me 👍 |
RFC. Supersedes / closes #27035.
2024-06-17.15-58-20.mp4
Recent feedback has indicated that users deem having to right-click-and-context-menu to change slider control point type too cumbersome. While the original stable of shift-click can't currently work well, here's an alternative proposal.
The bindings are not rebindable because I would have to put an osu!-specific editor binding in the main project which feels wrong.