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
1 changed files with 2 additions and 0 deletions

View File

@ -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: