Make field readonly

This commit is contained in:
Dean Herbert 2021-02-18 17:13:48 +09:00
parent c3a98b6ad1
commit b713eb2eae
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,8 @@ public class CarouselHeader : Container
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 };