Make Toast base class abstract

This commit is contained in:
Dean Herbert
2019-07-11 15:15:34 +09:00
parent dd13e2508a
commit 2c62891c48
2 changed files with 7 additions and 3 deletions

View File

@ -8,12 +8,12 @@ using osuTK.Graphics;
namespace osu.Game.Overlays.OSD
{
public class Toast : Container
public abstract class Toast : Container
{
private readonly Container content;
protected override Container<Drawable> Content => content;
public Toast()
protected Toast()
{
Anchor = Anchor.Centre;
Origin = Anchor.Centre;