mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-02-04 02:43:32 +00:00
Menu - Don't collapse workshop menu item when navigating to it from a submenu item
This commit is contained in:
parent
14c301a37e
commit
961e8e709a
@ -47,7 +47,10 @@ public partial class SidebarScreenViewModel : ViewModelBase
|
||||
public void ExpandIfRequired(SidebarScreenViewModel selected)
|
||||
{
|
||||
if (selected == this)
|
||||
{
|
||||
IsExpanded = true;
|
||||
return;
|
||||
}
|
||||
|
||||
if (Screens.Contains(selected))
|
||||
IsExpanded = true;
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
Background="Transparent"
|
||||
PointerPressed="Entry_OnPointerPressed">
|
||||
<!-- Icon -->
|
||||
<Border CornerRadius="3"
|
||||
<Border CornerRadius="2"
|
||||
VerticalAlignment="Center"
|
||||
Width="18"
|
||||
Height="18"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user