Skip to content

Commit

Permalink
fix 图池预览不显示的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
cdwcgt committed Dec 12, 2024
1 parent e335bc5 commit 575497d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions osu.Game.Tournament/Screens/Gameplay/GameplayScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,12 @@ private void load(MatchIPCInfo ipc)
warmupButton.Alpha = !w.NewValue ? 0.5f : 1;
header.ShowScores = !w.NewValue;
}, true);

sceneManager?.CurrentScreen.BindValueChanged(s =>
{
if (s.OldValue == typeof(MapPoolScreen) && s.NewValue == typeof(GameplayScreen))
switchFromMappool = true;
});
}

private bool roundPreviewShow;
Expand Down

0 comments on commit 575497d

Please sign in to comment.