1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 16:52:54 +08:00

Use a separate sample set for Toolbar buttons

This commit is contained in:
Jamie Taylor 2021-01-15 15:02:17 +09:00
parent d91e17542a
commit 4e2ab0bad2
2 changed files with 5 additions and 2 deletions

View File

@ -68,6 +68,9 @@ namespace osu.Game.Graphics.UserInterface
Normal, Normal,
[Description("-softer")] [Description("-softer")]
Soft Soft,
[Description("-toolbar")]
Toolbar
} }
} }

View File

@ -77,7 +77,7 @@ namespace osu.Game.Overlays.Toolbar
private KeyBindingStore keyBindings { get; set; } private KeyBindingStore keyBindings { get; set; }
protected ToolbarButton() protected ToolbarButton()
: base(HoverSampleSet.Loud) : base(HoverSampleSet.Toolbar)
{ {
Width = Toolbar.HEIGHT; Width = Toolbar.HEIGHT;
RelativeSizeAxes = Axes.Y; RelativeSizeAxes = Axes.Y;