From aae5f4f9e257ce53b8a5a44fa95789cd5a6928d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Sun, 5 Feb 2017 09:40:12 +0100 Subject: [PATCH] Fix volume control not showing is mouse-wheel is turned during its fade-out animation. --- osu.Game/Graphics/UserInterface/Volume/VolumeControl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Graphics/UserInterface/Volume/VolumeControl.cs b/osu.Game/Graphics/UserInterface/Volume/VolumeControl.cs index cfc6b3a1c7..c643e1c25a 100644 --- a/osu.Game/Graphics/UserInterface/Volume/VolumeControl.cs +++ b/osu.Game/Graphics/UserInterface/Volume/VolumeControl.cs @@ -70,7 +70,7 @@ namespace osu.Game.Graphics.UserInterface.Volume public void Adjust(InputState state) { - if (!IsVisible) + if (State == Visibility.Hidden) { Show(); return;