Alter default bot and faction dropdownhights for the RA mod.
This commit is contained in:
@@ -70,7 +70,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
|||||||
return item;
|
return item;
|
||||||
};
|
};
|
||||||
|
|
||||||
dropdown.ShowDropDown("LABEL_DROPDOWN_TEMPLATE", 167, options, setupItem);
|
dropdown.ShowDropDown("LABEL_DROPDOWN_TEMPLATE", 180, options, setupItem);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void ShowPlayerActionDropDown(DropDownButtonWidget dropdown, Session.Slot slot,
|
public static void ShowPlayerActionDropDown(DropDownButtonWidget dropdown, Session.Slot slot,
|
||||||
@@ -194,7 +194,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
|||||||
var options = factions.Where(f => f.Value.Selectable).GroupBy(f => f.Value.Side)
|
var options = factions.Where(f => f.Value.Selectable).GroupBy(f => f.Value.Side)
|
||||||
.ToDictionary(g => g.Key ?? "", g => g.Select(f => f.Key));
|
.ToDictionary(g => g.Key ?? "", g => g.Select(f => f.Key));
|
||||||
|
|
||||||
dropdown.ShowDropDown("FACTION_DROPDOWN_TEMPLATE", 150, options, setupItem);
|
dropdown.ShowDropDown("FACTION_DROPDOWN_TEMPLATE", 154, options, setupItem);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void ShowColorDropDown(DropDownButtonWidget color, Session.Client client,
|
public static void ShowColorDropDown(DropDownButtonWidget color, Session.Client client,
|
||||||
|
|||||||
Reference in New Issue
Block a user