Skip to content

Allow changing addition bank button state when objects are selected even if the selection has no addition sounds#36808

Merged
peppy merged 2 commits intoppy:masterfrom
bdach:samples-better
Mar 6, 2026
Merged

Allow changing addition bank button state when objects are selected even if the selection has no addition sounds#36808
peppy merged 2 commits intoppy:masterfrom
bdach:samples-better

Conversation

@bdach
Copy link
Collaborator

@bdach bdach commented Mar 4, 2026

Before:

Screen.Recording.2026-03-04.at.10.17.03.mov

After:

Screen.Recording.2026-03-04.at.10.19.37.mov

The title is convoluted but basically I'm angling to close #36705 with this.

The point is that on current master, the keyboard-hotkey-based toggles on the left of the screen get disabled if you select a range of objects which contains no addition samples. The report linked above finds this annoying because it means you basically always need to add an addition sound first and then pick a bank.

This is not necessary, and this commit changes the behaviour such that the bank selection toggles are no longer blocked when you select a range of objects without additions. Choosing an addition bank when there are no additions still does nothing to the selected object, but adding a sound after that bank preselection will use the preselected bank rather than auto.

bdach added 2 commits March 4, 2026 10:09
…ven if the selection has no addition sounds

The title is convoluted but basically I'm angling to close
ppy#36705 with this.

The point is that on current `master`, the keyboard-hotkey-based toggles
on the left of the screen get disabled if you select a range of objects
which contains no addition samples. The report linked above finds this
annoying because it means you basically always need to add an addition
sound *first* and *then* pick a bank.

This is not necessary, and this commit changes the behaviour such that
the bank selection toggles are no longer blocked when you select a range
of objects without additions. Choosing an addition bank when there are
no additions still does nothing to the selected object, *but* adding a
sound *after* that bank preselection will use the preselected bank
rather than auto.
@bdach bdach self-assigned this Mar 4, 2026
@bdach bdach added area:editor type/behavioural An issue with actual UI or game behaviour. Has a real world impact causing something to not work. labels Mar 4, 2026
@bdach bdach moved this from Inbox to Pending Review in osu! team task tracker Mar 4, 2026
@peppy peppy self-requested a review March 6, 2026 15:35
@peppy peppy merged commit 16bc1de into ppy:master Mar 6, 2026
9 of 10 checks passed
@github-project-automation github-project-automation bot moved this from Pending Review to Done in osu! team task tracker Mar 6, 2026
@bdach bdach deleted the samples-better branch March 6, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:editor size/L type/behavioural An issue with actual UI or game behaviour. Has a real world impact causing something to not work.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Hitsounds] Unable to select Addition Bank before putting the addition

2 participants