Root the player bin in the lobby ui correctly. Fixes #3505.
This commit is contained in:
@@ -103,7 +103,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
||||
name.GetText = () => orderManager.LobbyInfo.GlobalSettings.ServerName;
|
||||
|
||||
UpdateCurrentMap();
|
||||
Players = Ui.LoadWidget<ScrollPanelWidget>("LOBBY_PLAYER_BIN", lobby, new WidgetArgs());
|
||||
Players = Ui.LoadWidget<ScrollPanelWidget>("LOBBY_PLAYER_BIN", lobby.Get("PLAYER_BIN_ROOT"), new WidgetArgs());
|
||||
Players.IsVisible = () => panel == PanelType.Players;
|
||||
|
||||
EditablePlayerTemplate = Players.Get("TEMPLATE_EDITABLE_PLAYER");
|
||||
|
||||
@@ -89,6 +89,7 @@ Container@SERVER_LOBBY:
|
||||
Text:Ready
|
||||
Align:Left
|
||||
Font:Bold
|
||||
Container@PLAYER_BIN_ROOT:
|
||||
Button@OPTIONS_BUTTON:
|
||||
X:15
|
||||
Y:254
|
||||
|
||||
@@ -86,6 +86,7 @@ Background@SERVER_LOBBY:
|
||||
Text:Ready
|
||||
Align:Left
|
||||
Font:Bold
|
||||
Container@PLAYER_BIN_ROOT:
|
||||
DropDownButton@SLOTS_DROPDOWNBUTTON:
|
||||
X:20
|
||||
Y:PARENT_BOTTOM - 291
|
||||
|
||||
Reference in New Issue
Block a user