mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 17:37:23 +09: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
|
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user