Remove unnecessary abstraction of `ApproachCircle` property

This commit is contained in:
Salman Ahmed 2021-06-21 12:07:00 +03:00
parent ba15f7c19b
commit 999bf27eae
3 changed files with 1 additions and 5 deletions

View File

@ -31,8 +31,6 @@ public class LegacyNewStyleSpinner : LegacySpinner
private Container scaleContainer;
public override Drawable ApproachCircle { get; protected set; }
[BackgroundDependencyLoader]
private void load(ISkinSource source)
{

View File

@ -29,8 +29,6 @@ public class LegacyOldStyleSpinner : LegacySpinner
private const float final_metre_height = 692 * SPRITE_SCALE;
public override Drawable ApproachCircle { get; protected set; }
[BackgroundDependencyLoader]
private void load(ISkinSource source)
{

View File

@ -32,7 +32,7 @@ public abstract class LegacySpinner : CompositeDrawable, IHasApproachCircle
protected DrawableSpinner DrawableSpinner { get; private set; }
public abstract Drawable ApproachCircle { get; protected set; }
public Drawable ApproachCircle { get; protected set; }
private Sprite spin;
private Sprite clear;