osu icon indicating copy to clipboard operation
osu copied to clipboard

Add remove buttons for mod entries in custom preset lists

Open CloneWith opened this issue 4 months ago • 0 comments

Changes

To make it easier for users to remove unwanted mods in a custom mod preset.

Preview

  • Add remove buttons to the left of a mod entry, with a static tooltip
  • Block removing action and make the entry flash red when there is only one mode left in a preset

By the way should we consider add a Use current mods in the context menu? Thus we don't need to open the editor popup to apply mods to a preset.

Known Problems

  • Since we pass a fixed hashset to the mod row, it's unable to change the state of the remove button. I'm considering using a Bindable<Hashset<Mod>> for that.
  • The use of LocalisableString for tooltip text is being considered.

CloneWith avatar Oct 20 '24 06:10 CloneWith