1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 20:47:28 +08:00

Make field readonly

This commit is contained in:
Dean Herbert 2021-02-18 17:13:48 +09:00
parent c3a98b6ad1
commit b713eb2eae

View File

@ -24,7 +24,8 @@ namespace osu.Game.Screens.Select.Carousel
public Container BorderContainer;
public readonly Bindable<CarouselItemState> State = new Bindable<CarouselItemState>(CarouselItemState.NotSelected);
private HoverLayer hoverLayer;
private readonly HoverLayer hoverLayer;
protected override Container<Drawable> Content { get; } = new Container { RelativeSizeAxes = Axes.Both };