mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Make match header not fade when beatmap changes
This commit is contained in:
@ -168,7 +168,6 @@ namespace osu.Game.Screens.Multi.Components
|
||||
new GameTypeTeamVersus(),
|
||||
};
|
||||
|
||||
|
||||
Room = new Room();
|
||||
}
|
||||
|
||||
|
@ -46,7 +46,7 @@ namespace osu.Game.Screens.Multi.Screens.Match
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Masking = true,
|
||||
Child = background = new UpdateableBeatmapBackgroundSprite { RelativeSizeAxes = Axes.Both }
|
||||
Child = background = new HeaderBeatmapBackgroundSprite { RelativeSizeAxes = Axes.Both }
|
||||
},
|
||||
new Box
|
||||
{
|
||||
@ -175,6 +175,11 @@ namespace osu.Game.Screens.Multi.Screens.Match
|
||||
return base.OnMouseUp(e);
|
||||
}
|
||||
}
|
||||
|
||||
private class HeaderBeatmapBackgroundSprite : UpdateableBeatmapBackgroundSprite
|
||||
{
|
||||
protected override double FadeDuration => 0;
|
||||
}
|
||||
}
|
||||
|
||||
public enum MatchHeaderPage
|
||||
|
Reference in New Issue
Block a user