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:
parent
bba23dc928
commit
ad959ce523
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user