Don't show volume-popup if cursor is hidden.

This commit is contained in:
Florian Kuepper committed 2012-12-07 23:21:17 +01:00
1 parent ace002a7b1
commit 5b4133d5f3
1 file changed
+2
+2
View File
@@ -635,6 +635,8 @@ namespace Vocaluxe.Menu
_VolumePopupTimer.Reset();
HidePopup(EPopupScreens.PopupVolumeControl);
}
if (!_Cursor.IsActive && _CurrentPopupScreen == EPopupScreens.PopupVolumeControl)
HidePopup(EPopupScreens.PopupVolumeControl);
if (_CurrentPopupScreen != EPopupScreens.NoPopup)
_PopupScreens[(int)_CurrentPopupScreen].UpdateGame();
return _Screens[(int)_CurrentScreen].UpdateGame();