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