Skip to content

Commit

Permalink
Update MainWindow.xaml.cs
Browse files Browse the repository at this point in the history
新增空格键翻页
  • Loading branch information
3382308510 authored and WXRIW committed Dec 5, 2023
1 parent c054e85 commit 6627e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ink Canvas/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ private void Main_Grid_PreviewKeyDown(object sender, KeyEventArgs e)
{
if (StackPanelPPTControls.Visibility != Visibility.Visible || currentMode != 0) return;

if (e.Key == Key.Down || e.Key == Key.PageDown || e.Key == Key.Right || e.Key == Key.N)
if (e.Key == Key.Down || e.Key == Key.PageDown || e.Key == Key.Right || e.Key == Key.N || e.Key == Key.Space)
{
BtnPPTSlidesDown_Click(BtnPPTSlidesDown, null);
}
Expand Down

0 comments on commit 6627e81

Please sign in to comment.