mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Update with framework bindable changes
This commit is contained in:
@ -54,7 +54,7 @@ namespace osu.Game.Overlays.Chat.Selection
|
||||
RelativeSizeAxes = Axes.X;
|
||||
AutoSizeAxes = Axes.Y;
|
||||
|
||||
Action = () => { (channel.Joined ? OnRequestLeave : OnRequestJoin)?.Invoke(channel); };
|
||||
Action = () => { (channel.Joined.Value ? OnRequestLeave : OnRequestJoin)?.Invoke(channel); };
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
@ -148,7 +148,7 @@ namespace osu.Game.Overlays.Chat.Selection
|
||||
joinedColour = colours.Blue;
|
||||
hoverColour = colours.Yellow;
|
||||
|
||||
joinedBind.ValueChanged += updateColour;
|
||||
joinedBind.ValueChanged += e => updateColour(e.NewValue);
|
||||
joinedBind.BindTo(channel.Joined);
|
||||
|
||||
joinedBind.TriggerChange();
|
||||
|
Reference in New Issue
Block a user