Use UIEvent level getters for modifier keys.

This commit is contained in:
ekrctb
2018-10-02 12:44:14 +09:00
parent 50091252e2
commit b7a2ad1aa5
17 changed files with 18 additions and 22 deletions

View File

@ -560,7 +560,7 @@ namespace osu.Game.Screens.Select
switch (e.Key)
{
case Key.Delete:
if (e.CurrentState.Keyboard.ShiftPressed)
if (e.ShiftPressed)
{
if (!Beatmap.IsDefault)
delete(Beatmap.Value.BeatmapSetInfo);