mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 07:07:45 +08:00
Only allow seek to next/previous object via keybinding if there is no selection
This commit is contained in:
parent
2ccb4a48eb
commit
7f71ef4547
@ -721,10 +721,16 @@ namespace osu.Game.Screens.Edit
|
||||
switch (e.Action)
|
||||
{
|
||||
case GlobalAction.EditorSeekToPreviousHitObject:
|
||||
if (editorBeatmap.SelectedHitObjects.Any())
|
||||
return false;
|
||||
|
||||
seekHitObject(-1);
|
||||
return true;
|
||||
|
||||
case GlobalAction.EditorSeekToNextHitObject:
|
||||
if (editorBeatmap.SelectedHitObjects.Any())
|
||||
return false;
|
||||
|
||||
seekHitObject(1);
|
||||
return true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user