Make toolbar button abstract

This commit is contained in:
Joehu 2020-08-06 01:06:51 -07:00
parent bba23dc928
commit ad959ce523

View File

@ -18,7 +18,7 @@ using osu.Game.Graphics.UserInterface;
namespace osu.Game.Overlays.Toolbar namespace osu.Game.Overlays.Toolbar
{ {
public class ToolbarButton : OsuClickableContainer public abstract class ToolbarButton : OsuClickableContainer
{ {
public const float WIDTH = Toolbar.HEIGHT * 1.4f; public const float WIDTH = Toolbar.HEIGHT * 1.4f;
@ -68,7 +68,7 @@ namespace osu.Game.Overlays.Toolbar
private readonly SpriteText tooltip2; private readonly SpriteText tooltip2;
protected FillFlowContainer Flow; protected FillFlowContainer Flow;
public ToolbarButton() protected ToolbarButton()
: base(HoverSampleSet.Loud) : base(HoverSampleSet.Loud)
{ {
Width = WIDTH; Width = WIDTH;