Fix #549 - Shift + tab doesn't cycle build tabs backwards.
This commit is contained in:
@@ -147,9 +147,8 @@ namespace OpenRA.Mods.RA.Widgets
|
||||
|
||||
public override bool HandleKeyPressInner(KeyInput e)
|
||||
{
|
||||
if (e.Event == KeyInputEvent.Up || e.Modifiers != Modifiers.None) return false;
|
||||
|
||||
if (e.KeyChar == '\t')
|
||||
if (e.Event == KeyInputEvent.Up) return false;
|
||||
if (e.KeyName == "tab")
|
||||
{
|
||||
TabChange(e.Modifiers.HasModifier(Modifiers.Shift));
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user