mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Make OsuButton
abstract
This commit is contained in:
@ -19,7 +19,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
/// <summary>
|
||||
/// A button with added default sound effects.
|
||||
/// </summary>
|
||||
public partial class OsuButton : Button
|
||||
public abstract partial class OsuButton : Button
|
||||
{
|
||||
public LocalisableString Text
|
||||
{
|
||||
@ -73,7 +73,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
private readonly Box flashLayer;
|
||||
|
||||
public OsuButton(HoverSampleSet? hoverSounds = HoverSampleSet.Button)
|
||||
protected OsuButton(HoverSampleSet? hoverSounds = HoverSampleSet.Button)
|
||||
{
|
||||
Height = 40;
|
||||
|
||||
|
Reference in New Issue
Block a user