1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-08 06:19:38 +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:
Dean Herbert 2022-06-14 20:12:42 +09:00 committed by GitHub
commit c179a13d25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -422,6 +422,8 @@ namespace osu.Game.Screens.Edit
protected override bool OnKeyDown(KeyDownEvent e)
{
if (e.ControlPressed || e.AltPressed || e.SuperPressed) return false;
switch (e.Key)
{
case Key.Left: