фикс пустого хаба при подключении
This commit is contained in:
parent
fe511dac3e
commit
d712594c90
2 changed files with 4 additions and 1 deletions
|
|
@ -52,7 +52,7 @@
|
|||
</BoxContainer>
|
||||
</BoxContainer>
|
||||
</PanelContainer>
|
||||
<PanelContainer StyleClasses="AngleRect" HorizontalExpand="True" Margin="0 10 0 0" Name="ServersHub" MinWidth="600" MinHeight="220">
|
||||
<PanelContainer StyleClasses="AngleRect" HorizontalExpand="True" Margin="0 10 0 0" Visible="False" Name="ServersHub" MinWidth="600" MinHeight="220">
|
||||
<BoxContainer Orientation="Vertical" VerticalExpand="True" HorizontalExpand="True" Margin="3 3 3 3">
|
||||
<ScrollContainer VerticalExpand="True" HScrollEnabled="False" HorizontalExpand="True">
|
||||
<serversHub:ServersHub Name="ServersHubBody" Access="Public" />
|
||||
|
|
|
|||
|
|
@ -170,7 +170,10 @@ namespace Content.Client.Launcher
|
|||
Disconnected.Visible = page == LauncherConnecting.Page.Disconnected;
|
||||
|
||||
if (page == LauncherConnecting.Page.Disconnected)
|
||||
{
|
||||
DisconnectReason.Text = _state.LastDisconnectReason;
|
||||
ServersHub.Visible = true; // Sunrise-edit
|
||||
}
|
||||
}
|
||||
|
||||
private void ConnectionStateChanged(ClientConnectionState state)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue