Resize stances panel to fit better and move delete command to end of list.
This was SVN commit r10199.
This commit is contained in:
parent
3f0f1f78fb
commit
550cac253d
@ -497,10 +497,10 @@
|
||||
<!-- Stance Selection -->
|
||||
<object name="unitStancePanel"
|
||||
style="TranslucentPanel"
|
||||
size="0 100%-43 100% 100%"
|
||||
size="4 100%-43 100%-4 100%-4"
|
||||
type="text"
|
||||
>
|
||||
<object size="5 3 100% 100%">
|
||||
<object size="1 2 100% 100%">
|
||||
<repeat count="5">
|
||||
<object name="unitStanceButton[n]" hidden="true" style="iconButton" type="button" size="0 0 36 36" tooltip_style="sessionToolTipBottomBold" z="100">
|
||||
<object name="unitStanceIcon[n]" type="image" ghost="true" size="3 3 33 33"/>
|
||||
|
@ -234,11 +234,11 @@ function getEntityCommandsList(entState)
|
||||
var commands = [];
|
||||
if (entState.garrisonHolder)
|
||||
commands.push("unload-all");
|
||||
commands.push("delete");
|
||||
if (isUnit(entState))
|
||||
commands.push("garrison");
|
||||
if (entState.buildEntities)
|
||||
commands.push("repair");
|
||||
commands.push("delete");
|
||||
return commands;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user