[update] 让墨迹分析库提前加载
This commit is contained in:
parent
fb2315a033
commit
f12fc8b4c9
@ -194,6 +194,10 @@ namespace Ink_Canvas {
|
||||
BtnWhiteBoardSwitchPrevious.IsEnabled = CurrentWhiteboardIndex != 1;
|
||||
BorderInkReplayToolBox.Visibility = Visibility.Collapsed;
|
||||
|
||||
// 提前加载IA库,优化第一笔等待时间
|
||||
var strokeEmpty = new StrokeCollection();
|
||||
InkRecognizeHelper.RecognizeShape(strokeEmpty);
|
||||
|
||||
SystemEvents.DisplaySettingsChanged += SystemEventsOnDisplaySettingsChanged;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user