More UI fixes (#22431)
* Fix chat filter button
Oh look, the popup code was copy pasted between chat filter and channel selector.
Hilarious.
Anyways same stuff as 995f506aaf. I pulled it all out into a base class so NO MORE COPY PASTE.
Fixes #22360
* Remove all further EnableAllKeybinds buttons.
Fixes #22346
Yeah none of these are valid use cases, why is this set...
This commit is contained in:
committed by
GitHub
parent
93f8c4ef60
commit
16bd6802df
@@ -1,6 +1,5 @@
|
||||
<ContainerButton xmlns="https://spacestation14.io"
|
||||
xmlns:customControls1="clr-namespace:Content.Client.Administration.UI.CustomControls"
|
||||
EnableAllKeybinds="True">
|
||||
xmlns:customControls1="clr-namespace:Content.Client.Administration.UI.CustomControls">
|
||||
<PanelContainer Name="BackgroundColorPanel"/>
|
||||
<BoxContainer Orientation="Horizontal"
|
||||
HorizontalExpand="True"
|
||||
|
||||
@@ -7,7 +7,7 @@ using Robust.Shared.Input;
|
||||
namespace Content.Client.Info.PlaytimeStats;
|
||||
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class PlaytimeStatsHeader : ContainerButton
|
||||
public sealed partial class PlaytimeStatsHeader : Control
|
||||
{
|
||||
public event Action<Header, SortDirection>? OnHeaderClicked;
|
||||
private SortDirection _roleDirection = SortDirection.Ascending;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<ContainerButton xmlns="https://spacestation14.io"
|
||||
xmlns:customControls="clr-namespace:Content.Client.Administration.UI.CustomControls"
|
||||
EnableAllKeybinds="True">
|
||||
<Control xmlns="https://spacestation14.io"
|
||||
xmlns:customControls="clr-namespace:Content.Client.Administration.UI.CustomControls">
|
||||
<PanelContainer Name="BackgroundColorPlaytimePanel" Access="Public"/>
|
||||
<BoxContainer Orientation="Vertical"
|
||||
HorizontalExpand="True">
|
||||
@@ -26,4 +25,4 @@
|
||||
<!-- Horizontal Separator -->
|
||||
<customControls:HSeparator/>
|
||||
</BoxContainer>
|
||||
</ContainerButton>
|
||||
</Control>
|
||||
|
||||
Reference in New Issue
Block a user