Update MainWindow.xaml.cs

新增空格键翻页
This commit is contained in:
Weiwenzhao 2023-12-05 10:52:50 +08:00 committed by XY Wang
parent c054e85880
commit 6627e8165f

View File

@ -251,7 +251,7 @@ namespace Ink_Canvas
{ {
if (StackPanelPPTControls.Visibility != Visibility.Visible || currentMode != 0) return; 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); BtnPPTSlidesDown_Click(BtnPPTSlidesDown, null);
} }