Pass KeyInput to OnKey functions
This commit is contained in:
committed by
Paul Chote
parent
2742985520
commit
6967c1fff3
@@ -114,7 +114,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
&& editor.CurrentBrush == editor.DefaultBrush
|
||||
&& Game.RunTime > lastScrollTime + scrollVisibleTimeout;
|
||||
|
||||
actorIDField.OnEscKey = () =>
|
||||
actorIDField.OnEscKey = _ =>
|
||||
{
|
||||
actorIDField.YieldKeyboardFocus();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user