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:
parent
64cee72464
commit
af9b02746a
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user