Hide the lower session panel if nothing is selected
This was SVN commit r8566.
This commit is contained in:
parent
83285504cb
commit
c5f0b5d7be
@ -194,9 +194,9 @@ function updateSelectionDetails()
|
||||
getGUIObjectByName("detailsAreaSingle").hidden = true;
|
||||
hideUnitCommands();
|
||||
|
||||
// supplementalDetailsPanel.hidden = true;
|
||||
// detailsPanel.hidden = true;
|
||||
// commandsPanel.hidden = true;
|
||||
supplementalDetailsPanel.hidden = true;
|
||||
detailsPanel.hidden = true;
|
||||
commandsPanel.hidden = true;
|
||||
// getGUIObjectByName("unitSelectionPanel").hidden = true;
|
||||
return;
|
||||
}
|
||||
@ -226,7 +226,9 @@ function updateSelectionDetails()
|
||||
}
|
||||
|
||||
// Show Panels
|
||||
supplementalDetailsPanel.hidden = false;
|
||||
detailsPanel.hidden = false;
|
||||
commandsPanel.hidden = false;
|
||||
|
||||
// Fill out commands panel for specific unit selected (or first unit of primary group)
|
||||
updateUnitCommands(entState, supplementalDetailsPanel, commandsPanel, selection);
|
||||
|
@ -215,7 +215,6 @@ function setupUnitPanel(guiName, usedPanels, unitEntState, items, callback)
|
||||
tooltip += "\n[font=\"serif-13\"]" + template.tooltip + " " + getPopulationBonus(template) + "[/font]";
|
||||
|
||||
tooltip += "\n" + getEntityCost(template);
|
||||
|
||||
break;
|
||||
|
||||
case COMMAND:
|
||||
|
Loading…
Reference in New Issue
Block a user