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)
|
public override bool HandleKeyPressInner(KeyInput e)
|
||||||
{
|
{
|
||||||
if (e.Event == KeyInputEvent.Up || e.Modifiers != Modifiers.None) return false;
|
if (e.Event == KeyInputEvent.Up) return false;
|
||||||
|
if (e.KeyName == "tab")
|
||||||
if (e.KeyChar == '\t')
|
|
||||||
{
|
{
|
||||||
TabChange(e.Modifiers.HasModifier(Modifiers.Shift));
|
TabChange(e.Modifiers.HasModifier(Modifiers.Shift));
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user