Skip to content

Commit

Permalink
在菜单中移除退出项
Browse files Browse the repository at this point in the history
  • Loading branch information
zsh2401 committed Aug 13, 2020
1 parent ed3c7c5 commit 319ceb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/AutumnBox.GUI/Views/Controls/MainMenu.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</UserControl.DataContext>
<Menu VerticalAlignment="Center" DockPanel.Dock="Left" Background="Transparent">
<MenuItem Header="{DynamicResource Menu.File}">
<MenuItem Header="{DynamicResource Menu.Restart}" InputGestureText="Shift + R" Command="{Binding Restart}"/>
<!--<MenuItem Header="{DynamicResource Menu.Restart}" InputGestureText="Shift + R" Command="{Binding Restart}"/>-->
<MenuItem Command="{Binding Exit}" Header="{DynamicResource Menu.Exit}" InputGestureText="Alt + F4">
<MenuItem.Icon>
<Image Source="/Resources/Icons/Menu/exit.png"></Image>
Expand Down
2 changes: 1 addition & 1 deletion src/AutumnBox.GUI/Views/Windows/StartupWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</Window.Background>-->

<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Vertical">
<Image Source="/Resources/Images/icon.png" Height="100"/>
<Image Source="/Resources/Images/icon.png" Height="130"/>

<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
<TextBlock TextAlignment="Center" FontSize="30" Text="{DynamicResource App.Name}"/>
Expand Down

0 comments on commit 319ceb2

Please sign in to comment.