修复在非PPT模式下使用滚轮会导致软件崩溃
This commit is contained in:
parent
cd0fdd6b20
commit
51751d5dc8
@ -217,7 +217,8 @@ namespace Ink_Canvas
|
||||
|
||||
private void Window_MouseWheel(object sender, MouseWheelEventArgs e)
|
||||
{
|
||||
if (e.Delta >= 120)
|
||||
if (StackPanelPPTControls.Visibility != Visibility.Visible || currentMode != 0) return;
|
||||
if (e.Delta >= 120)
|
||||
{
|
||||
BtnPPTSlidesUp_Click(BtnPPTSlidesUp, null);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user