优化代码
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
using Ink_Canvas;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.InteropServices.WindowsRuntime;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
|
|||||||
@@ -1502,7 +1502,7 @@ namespace Ink_Canvas
|
|||||||
Settings defaultSettings = new Settings();
|
Settings defaultSettings = new Settings();
|
||||||
|
|
||||||
// 将默认配置和用户配置都序列化为JObject
|
// 将默认配置和用户配置都序列化为JObject
|
||||||
JObject defaultConfigObj = JObject.FromObject(defaultSettings); EnsureDefaultConfigSchemaIncludesIgnoredNullKeys(defaultConfigObj);
|
JObject defaultConfigObj = JObject.FromObject(defaultSettings); EnsureDefaultConfigSchemaIncludesIgnoredNullKeys(defaultConfigObj);
|
||||||
JObject userConfigObj = JObject.Parse(userConfigJson);
|
JObject userConfigObj = JObject.Parse(userConfigJson);
|
||||||
|
|
||||||
// 记录是否有清理操作
|
// 记录是否有清理操作
|
||||||
|
|||||||
Reference in New Issue
Block a user