Skip to content

Commit

Permalink
Modify some details
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzh0816 committed Aug 9, 2024
1 parent 01a63e6 commit 6c963f1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions SukiUI/Controls/SukiSideMenu.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
CornerRadius="0"
IsAnimated="False" />
<DockPanel>
<Button Name="PART_SidebarToggleButton"
<!--<Button Name="PART_SidebarToggleButton"
Margin="7"
HorizontalAlignment="{TemplateBinding TogglePaneButtonPosition}"
VerticalAlignment="Top"
Expand All @@ -41,7 +41,7 @@
</PathIcon.Transitions>
</PathIcon>
</Panel>
</Button>
</Button>-->
<Grid MinHeight="{TemplateBinding HeaderMinHeight}"
DockPanel.Dock="Top"
IsVisible="{TemplateBinding IsMenuExpanded}">
Expand Down
4 changes: 2 additions & 2 deletions SukiUI/Controls/SukiSideMenu.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ protected override void OnApplyTemplate(TemplateAppliedEventArgs e)
SelectedItem = Items.First();
}

e.NameScope.Get<Button>("PART_SidebarToggleButton").Click += (_, _) =>
MenuExpandedClicked();
/*e.NameScope.Get<Button>("PART_SidebarToggleButton").Click += (_, _) =>
MenuExpandedClicked();*/


if (e.NameScope.Get<Grid>("PART_Spacer") is { } spacer)
Expand Down
2 changes: 1 addition & 1 deletion UotanToolbox/MainView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<StackPanel>
<Image Width="80"
Height="80"
Margin="30"
Margin="50"
Source="Assets/OIG.N5o-removebg-preview.png"
ToolTip.Tip="Uotan Toolbox" />
</StackPanel>
Expand Down

0 comments on commit 6c963f1

Please sign in to comment.