Fixed shift-tab keyboard shortcut in build palette.
This commit is contained in:
committed by
Chris Forbes
parent
480db8be42
commit
f5c606266d
@@ -507,7 +507,7 @@ namespace OpenRA.Mods.RA.Widgets
|
|||||||
void TabChange(bool shift)
|
void TabChange(bool shift)
|
||||||
{
|
{
|
||||||
var queues = VisibleQueues.Concat(VisibleQueues);
|
var queues = VisibleQueues.Concat(VisibleQueues);
|
||||||
if (shift) queues.Reverse();
|
if (shift) queues = queues.Reverse();
|
||||||
var nextQueue = queues.SkipWhile( q => q != CurrentQueue )
|
var nextQueue = queues.SkipWhile( q => q != CurrentQueue )
|
||||||
.ElementAtOrDefault(1);
|
.ElementAtOrDefault(1);
|
||||||
if (nextQueue != null)
|
if (nextQueue != null)
|
||||||
|
|||||||
Reference in New Issue
Block a user