mirror of
https://github.com/osukey/osukey.git
synced 2025-05-08 23:27:38 +09:00
Fix incorrect room status
This commit is contained in:
parent
02365ee5ba
commit
e0e75c7339
@ -211,14 +211,6 @@ namespace osu.Game.Screens.Multi.Lounge.Components
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
bindings.Status.ValueChanged += s =>
|
|
||||||
{
|
|
||||||
status.Text = s.Message;
|
|
||||||
|
|
||||||
foreach (Drawable d in new Drawable[] { selectionBox, sideStrip, status })
|
|
||||||
d.FadeColour(s.GetAppropriateColour(colours), transition_duration);
|
|
||||||
};
|
|
||||||
|
|
||||||
background.Beatmap.BindTo(bindings.CurrentBeatmap);
|
background.Beatmap.BindTo(bindings.CurrentBeatmap);
|
||||||
modeTypeInfo.Beatmap.BindTo(bindings.CurrentBeatmap);
|
modeTypeInfo.Beatmap.BindTo(bindings.CurrentBeatmap);
|
||||||
beatmapTitle.Beatmap.BindTo(bindings.CurrentBeatmap);
|
beatmapTitle.Beatmap.BindTo(bindings.CurrentBeatmap);
|
||||||
@ -228,6 +220,13 @@ namespace osu.Game.Screens.Multi.Lounge.Components
|
|||||||
|
|
||||||
bindings.Name.BindValueChanged(n => name.Text = n, true);
|
bindings.Name.BindValueChanged(n => name.Text = n, true);
|
||||||
bindings.EndDate.BindValueChanged(d => endDate.Date = d, true);
|
bindings.EndDate.BindValueChanged(d => endDate.Date = d, true);
|
||||||
|
bindings.Status.BindValueChanged(s =>
|
||||||
|
{
|
||||||
|
status.Text = s.Message;
|
||||||
|
|
||||||
|
foreach (Drawable d in new Drawable[] { selectionBox, sideStrip, status })
|
||||||
|
d.FadeColour(s.GetAppropriateColour(colours), transition_duration);
|
||||||
|
}, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void LoadComplete()
|
protected override void LoadComplete()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user