Merge pull request #99 from WXRIW/fix/issue/94
[fix] 修复白板模式中放映的问题 (Fix #94)
This commit is contained in:
commit
c054e85880
@ -2240,6 +2240,8 @@ namespace Ink_Canvas
|
|||||||
LogHelper.WriteLogToFile("PowerPoint Application Slide Show Begin", LogHelper.LogType.Event);
|
LogHelper.WriteLogToFile("PowerPoint Application Slide Show Begin", LogHelper.LogType.Event);
|
||||||
Application.Current.Dispatcher.Invoke(() =>
|
Application.Current.Dispatcher.Invoke(() =>
|
||||||
{
|
{
|
||||||
|
// 退出画板模式
|
||||||
|
BtnSwitch_Click(null, null);
|
||||||
//调整颜色
|
//调整颜色
|
||||||
double screenRatio = SystemParameters.PrimaryScreenWidth / SystemParameters.PrimaryScreenHeight;
|
double screenRatio = SystemParameters.PrimaryScreenWidth / SystemParameters.PrimaryScreenHeight;
|
||||||
if (Math.Abs(screenRatio - 16.0 / 9) <= -0.01)
|
if (Math.Abs(screenRatio - 16.0 / 9) <= -0.01)
|
||||||
|
Loading…
Reference in New Issue
Block a user