Changed: Build palette hotkeys cannot be triggered anymore when used together with a modifier
This commit is contained in:
@@ -146,7 +146,7 @@ namespace OpenRA.Mods.RA.Widgets
|
|||||||
|
|
||||||
public override bool HandleKeyPressInner(KeyInput e)
|
public override bool HandleKeyPressInner(KeyInput e)
|
||||||
{
|
{
|
||||||
if (e.Event == KeyInputEvent.Up) return false;
|
if (e.Event == KeyInputEvent.Up || e.Modifiers != Modifiers.None) return false;
|
||||||
|
|
||||||
if (e.KeyChar == '\t')
|
if (e.KeyChar == '\t')
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user