refactor(设置): 将黑板缩放功能从开关改为滑块控制

将黑板缩放功能从布尔开关改为可调节的滑块控制,并统一所有滑块值的精度为两位小数
This commit is contained in:
PrefacedCorg
2026-05-01 00:25:35 +08:00
parent a7b020b0ff
commit 8ad987a64b
9 changed files with 63 additions and 40 deletions
+2 -2
View File
@@ -272,8 +272,8 @@ namespace Ink_Canvas
public bool EnableTrayIcon { get; set; } = true;
[JsonProperty("viewboxFloatingBarOpacityInPPTValue")]
public double ViewboxFloatingBarOpacityInPPTValue { get; set; } = 0.5;
[JsonProperty("enableViewboxBlackBoardScaleTransform")]
public bool EnableViewboxBlackBoardScaleTransform { get; set; }
[JsonProperty("viewboxBlackBoardScaleTransformValue")]
public double ViewboxBlackBoardScaleTransformValue { get; set; } = 1;
[JsonProperty("isTransparentButtonBackground")]
public bool IsTransparentButtonBackground { get; set; } = true;
[JsonProperty("isShowExitButton")]