[fix] 非预期的橡皮大小;软件启动时部分设置选项未更新值
This commit is contained in:
parent
6627e8165f
commit
b4040060f8
@ -598,7 +598,7 @@
|
|||||||
<Bold>开发者:</Bold> XY Wang (WXRIW)
|
<Bold>开发者:</Bold> XY Wang (WXRIW)
|
||||||
</TextBlock>
|
</TextBlock>
|
||||||
<TextBlock FontSize="14" TextWrapping="Wrap">
|
<TextBlock FontSize="14" TextWrapping="Wrap">
|
||||||
<Bold>贡献者:</Bold> Kengwang, Raspberry Kan, jiajiaxd, CN-Ironegg, Clover Yan, STBBRD
|
<Bold>贡献者:</Bold> Kengwang, Raspberry Kan, jiajiaxd, CN-Ironegg, Clover Yan, STBBRD, ChangSakura
|
||||||
</TextBlock>
|
</TextBlock>
|
||||||
<TextBlock FontSize="14">
|
<TextBlock FontSize="14">
|
||||||
<Bold>开源地址:</Bold>
|
<Bold>开源地址:</Bold>
|
||||||
|
@ -702,6 +702,14 @@ namespace Ink_Canvas
|
|||||||
{
|
{
|
||||||
ToggleSwitchEnableTwoFingerZoom.IsOn = false;
|
ToggleSwitchEnableTwoFingerZoom.IsOn = false;
|
||||||
}
|
}
|
||||||
|
if (Settings.Gesture.IsEnableTwoFingerTranslate)
|
||||||
|
{
|
||||||
|
ToggleSwitchEnableTwoFingerTranslate.IsOn = true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ToggleSwitchEnableTwoFingerTranslate.IsOn = false;
|
||||||
|
}
|
||||||
if (Settings.Gesture.IsEnableTwoFingerRotation)
|
if (Settings.Gesture.IsEnableTwoFingerRotation)
|
||||||
{
|
{
|
||||||
ToggleSwitchEnableTwoFingerRotation.IsOn = true;
|
ToggleSwitchEnableTwoFingerRotation.IsOn = true;
|
||||||
@ -761,6 +769,8 @@ namespace Ink_Canvas
|
|||||||
ComboBoxPenStyle.SelectedIndex = Settings.Canvas.InkStyle;
|
ComboBoxPenStyle.SelectedIndex = Settings.Canvas.InkStyle;
|
||||||
|
|
||||||
ComboBoxEraserSize.SelectedIndex = Settings.Canvas.EraserSize;
|
ComboBoxEraserSize.SelectedIndex = Settings.Canvas.EraserSize;
|
||||||
|
|
||||||
|
ComboBoxHyperbolaAsymptoteOption.SelectedIndex = (int)Settings.Canvas.HyperbolaAsymptoteOption;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -1045,9 +1055,9 @@ namespace Ink_Canvas
|
|||||||
forcePointEraser = false;
|
forcePointEraser = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
inkCanvas.EraserShape = forcePointEraser ? new EllipseStylusShape(50, 50) : new EllipseStylusShape(5, 5);
|
||||||
inkCanvas.EditingMode =
|
inkCanvas.EditingMode =
|
||||||
forcePointEraser ? InkCanvasEditingMode.EraseByPoint : InkCanvasEditingMode.EraseByStroke;
|
forcePointEraser ? InkCanvasEditingMode.EraseByPoint : InkCanvasEditingMode.EraseByStroke;
|
||||||
inkCanvas.EraserShape = forcePointEraser ? new EllipseStylusShape(50, 50) : new EllipseStylusShape(5, 5);
|
|
||||||
drawingShapeMode = 0;
|
drawingShapeMode = 0;
|
||||||
GeometryDrawingEraser.Brush = forcePointEraser
|
GeometryDrawingEraser.Brush = forcePointEraser
|
||||||
? new SolidColorBrush(Color.FromRgb(0x23, 0xA9, 0xF2))
|
? new SolidColorBrush(Color.FromRgb(0x23, 0xA9, 0xF2))
|
||||||
|
Loading…
Reference in New Issue
Block a user