mirror of
https://github.com/ppy/osu.git
synced 2025-02-06 21:52:58 +08:00
Hide Options and MusicController when switching to Player
Just something I noticed while playing around with the MusicController, as it can't be hidden without the corresponding toolbar button (yet) and it stays on screen when playing a beatmap. This PR just hides the Options and MusicController overlays on switching to the Player GameMode and so prevents the user from causing exceptions due to seeking in the Player mode.
This commit is contained in:
parent
788c11de10
commit
32e9db9273
@ -162,6 +162,8 @@ namespace osu.Game
|
||||
{
|
||||
Toolbar.State = Visibility.Hidden;
|
||||
Chat.State = Visibility.Hidden;
|
||||
MusicController.State = Visibility.Hidden;
|
||||
Options.State = Visibility.Hidden;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user