From 81de5a2097e80f309b39eeb201e6b1e7242bf9e2 Mon Sep 17 00:00:00 2001 From: DrabWeb Date: Fri, 27 Jan 2017 06:36:43 -0400 Subject: [PATCH] Made the pause overlay be at -1 depth so it renders on top of everything(used to allow circles to draw on top) --- osu.Game/Overlays/Pause/PauseOverlay.cs | 3 ++- osu.Game/Screens/Play/Player.cs | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game/Overlays/Pause/PauseOverlay.cs b/osu.Game/Overlays/Pause/PauseOverlay.cs index 78679fac26..4a76fb1eb8 100644 --- a/osu.Game/Overlays/Pause/PauseOverlay.cs +++ b/osu.Game/Overlays/Pause/PauseOverlay.cs @@ -110,7 +110,8 @@ namespace osu.Game.Overlays.Pause public PauseOverlay() { RelativeSizeAxes = Axes.Both; - AutoSizeAxes = Axes.Both; + AutoSizeAxes = Axes.Both; + Depth = -1; } } } diff --git a/osu.Game/Screens/Play/Player.cs b/osu.Game/Screens/Play/Player.cs index e7afe49881..8baa942b74 100644 --- a/osu.Game/Screens/Play/Player.cs +++ b/osu.Game/Screens/Play/Player.cs @@ -177,7 +177,6 @@ namespace osu.Game.Screens.Play private void onPause() { scoreOverlay.KeyCounter.IsCounting = false; - sourceClock.Stop(); }