1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:18:22 +08:00

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