mirror of https://github.com/ppy/osu
Fix typo on Key.Escape comment
This commit is contained in:
parent
ff6367fa4b
commit
e3502f5200
|
@ -61,7 +61,7 @@ protected override bool OnKeyDown(KeyDownEvent e)
|
||||||
if (!HasFocus) return false;
|
if (!HasFocus) return false;
|
||||||
|
|
||||||
if (e.Key == Key.Escape)
|
if (e.Key == Key.Escape)
|
||||||
return false; // disable the framework-level handling of escape key for confority (we use GlobalAction.Back).
|
return false; // disable the framework-level handling of escape key for conformity (we use GlobalAction.Back).
|
||||||
|
|
||||||
return base.OnKeyDown(e);
|
return base.OnKeyDown(e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue