refactor(设置): 将黑板缩放功能从开关改为滑块控制
将黑板缩放功能从布尔开关改为可调节的滑块控制,并统一所有滑块值的精度为两位小数
This commit is contained in:
@@ -295,16 +295,8 @@ namespace Ink_Canvas
|
||||
|
||||
ViewboxFloatingBar.Opacity = Settings.Appearance.ViewboxFloatingBarOpacityValue;
|
||||
|
||||
if (Settings.Appearance.EnableViewboxBlackBoardScaleTransform)
|
||||
{
|
||||
ViewboxBlackboardCenterSideScaleTransform.ScaleX = 0.8;
|
||||
ViewboxBlackboardCenterSideScaleTransform.ScaleY = 0.8;
|
||||
}
|
||||
else
|
||||
{
|
||||
ViewboxBlackboardCenterSideScaleTransform.ScaleX = 1;
|
||||
ViewboxBlackboardCenterSideScaleTransform.ScaleY = 1;
|
||||
}
|
||||
ViewboxBlackboardCenterSideScaleTransform.ScaleX = Settings.Appearance.ViewboxBlackBoardScaleTransformValue;
|
||||
ViewboxBlackboardCenterSideScaleTransform.ScaleY = Settings.Appearance.ViewboxBlackBoardScaleTransformValue;
|
||||
|
||||
if (Settings.Appearance.IsTransparentButtonBackground)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user