mirror of https://github.com/ppy/osu
Fix single case of incorrect usage
This commit is contained in:
parent
447371478e
commit
b36c991ba1
|
@ -635,6 +635,9 @@ private void onModeChanged(ValueChangedEvent<EditorScreenMode> e)
|
||||||
case EditorScreenMode.Verify:
|
case EditorScreenMode.Verify:
|
||||||
currentScreen = new VerifyScreen();
|
currentScreen = new VerifyScreen();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
throw new InvalidOperationException("Editor menu bar switched to an unsupported mode");
|
||||||
}
|
}
|
||||||
|
|
||||||
LoadComponentAsync(currentScreen, newScreen =>
|
LoadComponentAsync(currentScreen, newScreen =>
|
||||||
|
|
Loading…
Reference in New Issue