mirror of https://github.com/ppy/osu
Merge pull request #18685 from peppy/fix-editor-z-key
Fix ctrl-z in editor also seeking to start in addition to undo
This commit is contained in:
commit
c179a13d25
|
@ -422,6 +422,8 @@ public void OnReleased(KeyBindingReleaseEvent<PlatformAction> e)
|
|||
|
||||
protected override bool OnKeyDown(KeyDownEvent e)
|
||||
{
|
||||
if (e.ControlPressed || e.AltPressed || e.SuperPressed) return false;
|
||||
|
||||
switch (e.Key)
|
||||
{
|
||||
case Key.Left:
|
||||
|
|
Loading…
Reference in New Issue