mirror of
https://github.com/ppy/osu.git
synced 2024-11-08 08:37:40 +08:00
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 @@ namespace osu.Game.Screens.Edit
|
|||||||
|
|
||||||
protected override bool OnKeyDown(KeyDownEvent e)
|
protected override bool OnKeyDown(KeyDownEvent e)
|
||||||
{
|
{
|
||||||
|
if (e.ControlPressed || e.AltPressed || e.SuperPressed) return false;
|
||||||
|
|
||||||
switch (e.Key)
|
switch (e.Key)
|
||||||
{
|
{
|
||||||
case Key.Left:
|
case Key.Left:
|
||||||
|
Loading…
Reference in New Issue
Block a user