Replaced remaining StyleNano references.
This commit is contained in:
parent
e2f5f4b7fa
commit
8aeb9082e7
|
|
@ -102,7 +102,7 @@
|
|||
ToolTip="{Loc 'ui-options-function-open-c-help'}"
|
||||
MinSize="42 64"
|
||||
HorizontalExpand="True"
|
||||
AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"
|
||||
AppendStyleClass="{x:Static style:StyleClass.ButtonSquare}"
|
||||
/>
|
||||
<!-- End DeltaV - Add CHelp -->
|
||||
<ui:MenuButton
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ public sealed partial class MonumentMenu : FancyWindow
|
|||
var button = new Button
|
||||
{
|
||||
HorizontalExpand = true,
|
||||
StyleClasses = { StyleBase.ButtonSquare },
|
||||
StyleClasses = { StyleClass.ButtonSquare },
|
||||
ToolTip = Loc.GetString(glyph.Tooltip),
|
||||
Group = _glyphButtonGroup,
|
||||
Pressed = glyph.ID == _selectedGlyphProtoId,
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ using Content.Client._DV.Curation.UI.Cwoink;
|
|||
using Content.Client.Administration.Managers;
|
||||
using Content.Client.Gameplay;
|
||||
using Content.Client.Lobby;
|
||||
using Content.Client.Stylesheets;
|
||||
using Content.Client.UserInterface.Controls;
|
||||
using Content.Client.UserInterface.Systems.MenuBar.Widgets;
|
||||
using Content.Shared._DV.CCVars;
|
||||
|
|
@ -235,13 +236,13 @@ public sealed class CHelpUIController : UIController, IOnSystemChanged<CwoinkSys
|
|||
|
||||
private void UnreadCHelpReceived()
|
||||
{
|
||||
GameCHelpButton?.StyleClasses.Add(MenuButton.StyleClassRedTopButton);
|
||||
GameCHelpButton?.StyleClasses.Add(StyleClass.Negative);
|
||||
_hasUnreadCHelp = true;
|
||||
}
|
||||
|
||||
private void UnreadCHelpRead()
|
||||
{
|
||||
GameCHelpButton?.StyleClasses.Remove(MenuButton.StyleClassRedTopButton);
|
||||
GameCHelpButton?.StyleClasses.Remove(StyleClass.Negative);
|
||||
_hasUnreadCHelp = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue