[fix] 修复白板模式中放映的问题 (Fix #94)

This commit is contained in:
Kengwang 2023-10-26 17:09:38 +08:00 committed by GitHub
parent da359cd3f8
commit 000ad60aa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2234,6 +2234,8 @@ namespace Ink_Canvas
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)