Skip to content

Commit

Permalink
fix + new Button (#1042)
Browse files Browse the repository at this point in the history
  • Loading branch information
trest100 authored Feb 10, 2025
1 parent ae9f075 commit ea9389c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
14 changes: 7 additions & 7 deletions Content.Client/Lobby/UI/LobbyGui.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
<!-- Vertical Padding -->
<Control VerticalExpand="True" />
<RichTextLabel Name="LabelName" Access="Public" HorizontalAlignment="Left"
VerticalAlignment="Center" Margin="20 0 0 420" />
VerticalAlignment="Center" Margin="20 0 0 450" />
<!-- Left Bot Panel -->
<BoxContainer Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Bottom">
<info:DevInfoBanner Name="DevInfoBanner" VerticalExpand="false" Margin="3 3 3 3" />
<PanelContainer StyleClasses="AngleRect">
<RichTextLabel Name="LobbySong" Access="Public" HorizontalAlignment="Center" />
<RichTextLabel Name="LobbySong" StyleClasses="LobbyBackground" Access="Public" HorizontalAlignment="Center" />
</PanelContainer>
</BoxContainer>
<!-- Left Panel -->
Expand Down Expand Up @@ -61,11 +61,11 @@
Access="Public"
ButtonText="{Loc 'ui-lobby-options-button'}"
Margin="0 10 0 10" />
<!--<buttons:WhiteLobbyTextButton
Name="DiscordButton"
<buttons:WhiteLobbyTextButton
Name="VotemenuButton"
Access="Public"
ButtonText="Привязать Discord"
Margin="0 10 0 10" />-->
ButtonText="{Loc 'ui-lobby-open-votemenu'}"
Margin="0 10 0 10" />
<buttons:WhiteLobbyTextButton
Name="AHelpButton"
Access="Public"
Expand Down Expand Up @@ -95,7 +95,7 @@
</Control>
</BoxContainer>
<!-- Right Panel -->
<PanelContainer Name="RightSide" Access="Public" StyleClasses="AngleRect" HorizontalAlignment="Right" VerticalExpand="True"
<PanelContainer Name="RightSide" Access="Public" StyleClasses="LobbyBackground" HorizontalAlignment="Right" VerticalExpand="True"
VerticalAlignment="Stretch">
<BoxContainer Orientation="Vertical" HorizontalExpand="True">
<!-- Top row -->
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Lobby/UI/LobbyGui.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public LobbyGui()

OptionsButton.OnPressed += _ => _userInterfaceManager.GetUIController<OptionsUIController>().ToggleWindow();
// BACKMEN Edit Start
/*DiscordButton.OnPressed += _ => _stalinManager.RequestUri();*/
VotemenuButton.OnPressed += _ => _consoleHost.ExecuteCommand("votemenu");
ChangelogButton.OnPressed += _ => UserInterfaceManager.GetUIController<ChangelogUIController>().ToggleWindow();
QuitButton.OnPressed += _ => _consoleHost.ExecuteCommand("disconnect");
// BACKMEN Edit End
Expand Down
1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/lobby/lobby-gui.ftl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ui-lobby-title = Лобби: {$serverName}
ui-lobby-open-votemenu = Меню Голосований
ui-lobby-ahelp-button = AHelp
ui-lobby-options-button = Настройки
ui-lobby-leave-button = Выйти
Expand Down

0 comments on commit ea9389c

Please sign in to comment.