mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
Allow changing accentcolour/bordercolour post-load
This commit is contained in:
parent
50d0278cbd
commit
9cd9c83f2c
@ -48,7 +48,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Pieces
|
||||
return;
|
||||
accentColour = value;
|
||||
|
||||
if (LoadState == LoadState.Ready)
|
||||
if (LoadState >= LoadState.Ready)
|
||||
Schedule(reloadTexture);
|
||||
}
|
||||
}
|
||||
@ -66,7 +66,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Pieces
|
||||
return;
|
||||
borderColour = value;
|
||||
|
||||
if (LoadState == LoadState.Ready)
|
||||
if (LoadState >= LoadState.Ready)
|
||||
Schedule(reloadTexture);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user