add:自定义白板背景色 #39

This commit is contained in:
2025-07-16 09:16:36 +08:00
parent 853f380e5d
commit 86b52b76ed
6 changed files with 787 additions and 5 deletions
+4 -1
View File
@@ -66,7 +66,10 @@ namespace Ink_Canvas
public int LineEndpointSnappingThreshold { get; set; } = 15; // 直线端点吸附的距离阈值(像素)
[JsonProperty("usingWhiteboard")]
public bool UsingWhiteboard { get; set; }
public bool UsingWhiteboard { get; set; } = false;
[JsonProperty("customBackgroundColor")]
public string CustomBackgroundColor { get; set; } = "#162924";
[JsonProperty("hyperbolaAsymptoteOption")]
public OptionalOperation HyperbolaAsymptoteOption { get; set; } = OptionalOperation.Ask;