1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-22 03:52:54 +08:00

make fields readonly

This commit is contained in:
Jorolf 2017-05-23 18:19:01 +02:00
parent 64cee72464
commit af9b02746a

View File

@ -24,7 +24,7 @@ namespace osu.Game.Overlays.Chat
private const float shear_width = 10; private const float shear_width = 10;
private Bindable<bool> channelSelectorActive = new Bindable<bool>(); private readonly Bindable<bool> channelSelectorActive = new Bindable<bool>();
public Bindable<bool> ChannelSelectorActive => channelSelectorActive; public Bindable<bool> ChannelSelectorActive => channelSelectorActive;
@ -212,7 +212,7 @@ namespace osu.Game.Overlays.Chat
} }
} }
private Bindable<bool> activeBindable; private readonly Bindable<bool> activeBindable;
public ChannelSelectorTabItem(Channel value, Bindable<bool> active) : base(value) public ChannelSelectorTabItem(Channel value, Bindable<bool> active) : base(value)
{ {