Skip to content

Commit

Permalink
Merge pull request #99 from WXRIW/fix/issue/94
Browse files Browse the repository at this point in the history
[fix] 修复白板模式中放映的问题 (Fix #94)
  • Loading branch information
WXRIW authored Nov 14, 2023
2 parents 6eb75e9 + 000ad60 commit c054e85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Ink Canvas/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2240,6 +2240,8 @@ private void PptApplication_SlideShowBegin(SlideShowWindow Wn)
LogHelper.WriteLogToFile("PowerPoint Application Slide Show Begin", LogHelper.LogType.Event);
Application.Current.Dispatcher.Invoke(() =>
{
// 退出画板模式
BtnSwitch_Click(null, null);
//调整颜色
double screenRatio = SystemParameters.PrimaryScreenWidth / SystemParameters.PrimaryScreenHeight;
if (Math.Abs(screenRatio - 16.0 / 9) <= -0.01)
Expand Down

0 comments on commit c054e85

Please sign in to comment.