mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 20:32:55 +08:00
Cleanup DrawableRoom.
This commit is contained in:
parent
dcc39d96e2
commit
7beac3a712
@ -227,18 +227,9 @@ namespace osu.Game.Screens.Multi.Components
|
|||||||
|
|
||||||
beatmapBind.ValueChanged += b =>
|
beatmapBind.ValueChanged += b =>
|
||||||
{
|
{
|
||||||
|
cover.BeatmapSet = b?.BeatmapSet;
|
||||||
|
beatmapTitle.Beatmap = b;
|
||||||
modeTypeInfo.Beatmap = b;
|
modeTypeInfo.Beatmap = b;
|
||||||
|
|
||||||
if (b != null)
|
|
||||||
{
|
|
||||||
cover.BeatmapSet = b.BeatmapSet;
|
|
||||||
beatmapTitle.Beatmap = b;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
cover.BeatmapSet = null;
|
|
||||||
beatmapTitle.Beatmap = null;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nameBind.BindTo(Room.Name);
|
nameBind.BindTo(Room.Name);
|
||||||
|
Loading…
Reference in New Issue
Block a user