Skip to content

Commit

Permalink
Поменял цвет хайдера блоков лобби
Browse files Browse the repository at this point in the history
  • Loading branch information
VigersRay committed Sep 16, 2024
1 parent 9115965 commit 1e2302e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Content.Client/Lobby/UI/LobbyGui.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using System.Numerics;
using Content.Client.Parallax.Managers;
using Content.Client.Resources;
using Content.Client.Stylesheets;
using Content.Shared._Sunrise.SunriseCCVars;
using Robust.Client.Graphics;
using Robust.Client.ResourceManagement;
Expand Down Expand Up @@ -135,6 +136,7 @@ public LobbyGui()
// Sunrise-end
}

// Sunrise-Start
private void LoadIcons()
{
if (!TryGetStyleProperty(StylePropertyIconExpanded, out IconExpanded))
Expand All @@ -150,6 +152,11 @@ private void LoadIcons()
ServerInfoHider.Texture = ServerInfoContent.Visible ? IconExpanded : IconCollapsed;
CharacterInfoHider.Texture = CharacterInfoContent.Visible ? IconExpanded : IconCollapsed;
ChatHider.Texture = ChatContent.Visible ? IconExpanded : IconCollapsed;
ServersHubHider.Modulate = StyleNano.NanoGold;
ChangelogHider.Modulate = StyleNano.NanoGold;
ServerInfoHider.Modulate = StyleNano.NanoGold;
CharacterInfoHider.Modulate = StyleNano.NanoGold;
ChatHider.Modulate = StyleNano.NanoGold;
}

private void OnServersHubEnableChanged(bool enable)
Expand Down Expand Up @@ -186,8 +193,8 @@ private void SetLobbyBackgroundType(string lobbyBackgroundString)
break;
}
}
// Sunrise-End

// Sunrise-Start
private void OnLobbyOpacityChanged(float opacity)
{
SetLobbyOpacity(opacity);
Expand Down

0 comments on commit 1e2302e

Please sign in to comment.