mirror of
https://github.com/ppy/osu.git
synced 2025-02-22 02:22:57 +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;
|
return;
|
||||||
accentColour = value;
|
accentColour = value;
|
||||||
|
|
||||||
if (LoadState == LoadState.Ready)
|
if (LoadState >= LoadState.Ready)
|
||||||
Schedule(reloadTexture);
|
Schedule(reloadTexture);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -66,7 +66,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Pieces
|
|||||||
return;
|
return;
|
||||||
borderColour = value;
|
borderColour = value;
|
||||||
|
|
||||||
if (LoadState == LoadState.Ready)
|
if (LoadState >= LoadState.Ready)
|
||||||
Schedule(reloadTexture);
|
Schedule(reloadTexture);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user