优化代码
This commit is contained in:
@@ -623,7 +623,7 @@ namespace Ink_Canvas
|
||||
|
||||
var shapeMode = ShapeRecognitionRouter.FromSettingsInt(Settings.InkToShape.ShapeRecognitionEngine);
|
||||
InkShapeRecognitionResult result = InkShapeRecognitionResult.Empty;
|
||||
|
||||
|
||||
if (ShapeRecognitionRouter.ResolveUseWinRt(shapeMode) && Helpers.WinRtInkShapeRecognizer.IsApiAvailable)
|
||||
{
|
||||
result = await ModernInkAnalyzer.AnalyzeAsync(newStrokes);
|
||||
|
||||
Reference in New Issue
Block a user