Fix #549 - Shift + tab doesn't cycle build tabs backwards.

This commit is contained in:
Paul Chote
2011-03-18 09:44:28 +13:00
parent c568759e49
commit 7d6d488176

View File

@@ -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;