Remove unused spectator ready checkboxes.
This commit is contained in:
@@ -460,7 +460,6 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
||||
|
||||
LobbyUtils.SetupEditableNameWidget(template, null, c, orderManager);
|
||||
LobbyUtils.SetupEditableColorWidget(template, null, c, orderManager, colorPreview);
|
||||
LobbyUtils.SetupEditableReadyWidget(template, null, client, orderManager);
|
||||
}
|
||||
// Non-editable spectator
|
||||
else
|
||||
@@ -471,7 +470,6 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
||||
LobbyUtils.SetupNameWidget(template, null, client);
|
||||
LobbyUtils.SetupKickWidget(template, null, client, orderManager);
|
||||
LobbyUtils.SetupColorWidget(template, null, client);
|
||||
LobbyUtils.SetupReadyWidget(template, null, client);
|
||||
}
|
||||
|
||||
LobbyUtils.SetupClientWidget(template, null, c, orderManager, true);
|
||||
|
||||
@@ -309,17 +309,12 @@ Container@SERVER_LOBBY:
|
||||
Height:PARENT_BOTTOM-12
|
||||
Label@SPECTATOR:
|
||||
Text:Spectator
|
||||
Width:220-55
|
||||
Width:250
|
||||
Height:25
|
||||
X:280
|
||||
X:255
|
||||
Y:0
|
||||
Align:Center
|
||||
Font:Bold
|
||||
Checkbox@STATUS_CHECKBOX:
|
||||
X:448
|
||||
Y:2
|
||||
Width:20
|
||||
Height:20
|
||||
Container@TEMPLATE_NONEDITABLE_SPECTATOR:
|
||||
X:5
|
||||
Y:0
|
||||
@@ -370,20 +365,12 @@ Container@SERVER_LOBBY:
|
||||
Height:13
|
||||
Label@SPECTATOR:
|
||||
Text:Spectator
|
||||
Width:220-55
|
||||
Width:250
|
||||
Height:25
|
||||
X:280
|
||||
X:255
|
||||
Y:0
|
||||
Align:Center
|
||||
Font:Bold
|
||||
Image@STATUS_IMAGE:
|
||||
Visible:false
|
||||
X:450
|
||||
Y:4
|
||||
Width:20
|
||||
Height:20
|
||||
ImageCollection:checkbox-bits
|
||||
ImageName:checked
|
||||
Container@TEMPLATE_NEW_SPECTATOR:
|
||||
X:5
|
||||
Y:0
|
||||
|
||||
@@ -286,25 +286,12 @@ Background@SERVER_LOBBY:
|
||||
Height:PARENT_BOTTOM-12
|
||||
Label@SPECTATOR:
|
||||
Text:Spectator
|
||||
Width:198
|
||||
Width:225
|
||||
Height:25
|
||||
X:240
|
||||
X:245
|
||||
Y:0
|
||||
Align:Center
|
||||
Font:Bold
|
||||
Checkbox@STATUS_CHECKBOX:
|
||||
X:448
|
||||
Y:2
|
||||
Width:20
|
||||
Height:20
|
||||
Image@STATUS_IMAGE:
|
||||
Visible:false
|
||||
X:450
|
||||
Y:4
|
||||
Width:20
|
||||
Height:20
|
||||
ImageCollection:checkbox-bits
|
||||
ImageName:checked
|
||||
Container@TEMPLATE_NONEDITABLE_SPECTATOR:
|
||||
X:5
|
||||
Y:0
|
||||
@@ -354,20 +341,12 @@ Background@SERVER_LOBBY:
|
||||
Height:13
|
||||
Label@SPECTATOR:
|
||||
Text:Spectator
|
||||
Width:198
|
||||
Width:225
|
||||
Height:25
|
||||
X:240
|
||||
X:245
|
||||
Y:0
|
||||
Align:Center
|
||||
Font:Bold
|
||||
Image@STATUS_IMAGE:
|
||||
Visible:false
|
||||
X:450
|
||||
Y:4
|
||||
Width:20
|
||||
Height:20
|
||||
ImageCollection:checkbox-bits
|
||||
ImageName:checked
|
||||
Container@TEMPLATE_NEW_SPECTATOR:
|
||||
X:5
|
||||
Y:0
|
||||
|
||||
@@ -286,25 +286,12 @@ Background@SERVER_LOBBY:
|
||||
Height:PARENT_BOTTOM-12
|
||||
Label@SPECTATOR:
|
||||
Text:Spectator
|
||||
Width:198
|
||||
Width:225
|
||||
Height:25
|
||||
X:240
|
||||
X:245
|
||||
Y:0
|
||||
Align:Center
|
||||
Font:Bold
|
||||
Checkbox@STATUS_CHECKBOX:
|
||||
X:448
|
||||
Y:2
|
||||
Width:20
|
||||
Height:20
|
||||
Image@STATUS_IMAGE:
|
||||
Visible:false
|
||||
X:450
|
||||
Y:4
|
||||
Width:20
|
||||
Height:20
|
||||
ImageCollection:checkbox-bits
|
||||
ImageName:checked
|
||||
Container@TEMPLATE_NONEDITABLE_SPECTATOR:
|
||||
X:5
|
||||
Y:0
|
||||
@@ -354,20 +341,12 @@ Background@SERVER_LOBBY:
|
||||
Height:13
|
||||
Label@SPECTATOR:
|
||||
Text:Spectator
|
||||
Width:198
|
||||
Width:225
|
||||
Height:25
|
||||
X:240
|
||||
X:245
|
||||
Y:0
|
||||
Align:Center
|
||||
Font:Bold
|
||||
Image@STATUS_IMAGE:
|
||||
Visible:false
|
||||
X:450
|
||||
Y:4
|
||||
Width:20
|
||||
Height:20
|
||||
ImageCollection:checkbox-bits
|
||||
ImageName:checked
|
||||
Container@TEMPLATE_NEW_SPECTATOR:
|
||||
X:5
|
||||
Y:0
|
||||
|
||||
Reference in New Issue
Block a user