mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 20:32:55 +08:00
Use IReadOnlyList for break periods list
This commit is contained in:
parent
ae66a7e9e4
commit
44895c4b69
@ -19,11 +19,11 @@ namespace osu.Game.Screens.Play
|
|||||||
private const float remaining_time_container_max_size = 0.3f;
|
private const float remaining_time_container_max_size = 0.3f;
|
||||||
private const int vertical_margin = 25;
|
private const int vertical_margin = 25;
|
||||||
|
|
||||||
private List<BreakPeriod> breaks;
|
|
||||||
|
|
||||||
private readonly Container fadeContainer;
|
private readonly Container fadeContainer;
|
||||||
|
|
||||||
public List<BreakPeriod> Breaks
|
private IReadOnlyList<BreakPeriod> breaks;
|
||||||
|
|
||||||
|
public IReadOnlyList<BreakPeriod> Breaks
|
||||||
{
|
{
|
||||||
get => breaks;
|
get => breaks;
|
||||||
set
|
set
|
||||||
|
Loading…
Reference in New Issue
Block a user