Fix volume control not showing is mouse-wheel is turned during its fade-out animation.

This commit is contained in:
Thomas Müller 2017-02-05 09:40:12 +01:00
parent 52f6a09319
commit aae5f4f9e2

View File

@ -70,7 +70,7 @@ namespace osu.Game.Graphics.UserInterface.Volume
public void Adjust(InputState state) public void Adjust(InputState state)
{ {
if (!IsVisible) if (State == Visibility.Hidden)
{ {
Show(); Show();
return; return;