improve:直线拉直
This commit is contained in:
@@ -946,7 +946,7 @@
|
|||||||
<TextBlock Foreground="#fafafa" Text="长度阈值" VerticalAlignment="Center"
|
<TextBlock Foreground="#fafafa" Text="长度阈值" VerticalAlignment="Center"
|
||||||
FontSize="14" Margin="0,0,16,0" />
|
FontSize="14" Margin="0,0,16,0" />
|
||||||
<Slider Name="AutoStraightenLineThresholdSlider" Width="150" Minimum="30" Maximum="300"
|
<Slider Name="AutoStraightenLineThresholdSlider" Width="150" Minimum="30" Maximum="300"
|
||||||
Value="30" TickFrequency="30" IsSnapToTickEnabled="True"
|
Value="80" TickFrequency="30" IsSnapToTickEnabled="True"
|
||||||
ValueChanged="AutoStraightenLineThresholdSlider_ValueChanged" />
|
ValueChanged="AutoStraightenLineThresholdSlider_ValueChanged" />
|
||||||
<TextBlock Foreground="#fafafa" Text="{Binding ElementName=AutoStraightenLineThresholdSlider, Path=Value, StringFormat={}{0:0}}"
|
<TextBlock Foreground="#fafafa" Text="{Binding ElementName=AutoStraightenLineThresholdSlider, Path=Value, StringFormat={}{0:0}}"
|
||||||
VerticalAlignment="Center" FontSize="14" Margin="16,0,0,0" />
|
VerticalAlignment="Center" FontSize="14" Margin="16,0,0,0" />
|
||||||
|
|||||||
@@ -1615,7 +1615,7 @@ namespace Ink_Canvas {
|
|||||||
Settings.Canvas.EnablePressureTouchMode = false;
|
Settings.Canvas.EnablePressureTouchMode = false;
|
||||||
Settings.Canvas.DisablePressure = false;
|
Settings.Canvas.DisablePressure = false;
|
||||||
Settings.Canvas.AutoStraightenLine = true;
|
Settings.Canvas.AutoStraightenLine = true;
|
||||||
Settings.Canvas.AutoStraightenLineThreshold = 30;
|
Settings.Canvas.AutoStraightenLineThreshold = 80;
|
||||||
Settings.Canvas.LineEndpointSnapping = true;
|
Settings.Canvas.LineEndpointSnapping = true;
|
||||||
Settings.Canvas.LineEndpointSnappingThreshold = 15;
|
Settings.Canvas.LineEndpointSnappingThreshold = 15;
|
||||||
Settings.Canvas.UsingWhiteboard = false;
|
Settings.Canvas.UsingWhiteboard = false;
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ namespace Ink_Canvas
|
|||||||
[JsonProperty("autoStraightenLine")]
|
[JsonProperty("autoStraightenLine")]
|
||||||
public bool AutoStraightenLine { get; set; } = true; // 是否启用直线自动拉直
|
public bool AutoStraightenLine { get; set; } = true; // 是否启用直线自动拉直
|
||||||
[JsonProperty("autoStraightenLineThreshold")]
|
[JsonProperty("autoStraightenLineThreshold")]
|
||||||
public int AutoStraightenLineThreshold { get; set; } = 30; // 直线自动拉直的长度阈值(像素)
|
public int AutoStraightenLineThreshold { get; set; } = 80; // 直线自动拉直的长度阈值(像素)
|
||||||
[JsonProperty("highPrecisionLineStraighten")]
|
[JsonProperty("highPrecisionLineStraighten")]
|
||||||
public bool HighPrecisionLineStraighten { get; set; } = true; // 是否启用高精度直线拉直
|
public bool HighPrecisionLineStraighten { get; set; } = true; // 是否启用高精度直线拉直
|
||||||
[JsonProperty("lineEndpointSnapping")]
|
[JsonProperty("lineEndpointSnapping")]
|
||||||
|
|||||||
Binary file not shown.
@@ -16,5 +16,5 @@ E:\ICC CE\ICC CE main\community\Ink Canvas\App.xaml
|
|||||||
471037513499
|
471037513499
|
||||||
Helpers\Plugins\BuiltIn\SuperLauncher\LauncherSettingsControl.xaml;Helpers\Plugins\BuiltIn\SuperLauncher\LauncherWindow.xaml;MainWindow.xaml;MainWindow_cs\MW_Eraser.xaml;Resources\DrawShapeImageDictionary.xaml;Resources\IconImageDictionary.xaml;Resources\SeewoImageDictionary.xaml;Resources\Styles\Dark.xaml;Resources\Styles\Light.xaml;Windows\AddCustomIconWindow.xaml;Windows\AddPickNameBackgroundWindow.xaml;Windows\CountdownTimerWindow.xaml;Windows\CustomIconWindow.xaml;Windows\CycleProcessBar.xaml;Windows\HasNewUpdateWindow.xaml;Windows\HistoryRollbackWindow.xaml;Windows\ManagePickNameBackgroundsWindow.xaml;Windows\NamesInputWindow.xaml;Windows\OperatingGuideWindow.xaml;Windows\PluginSettingsWindow.xaml;Windows\RandWindow.xaml;Windows\YesOrNoNotificationWindow.xaml;
|
Helpers\Plugins\BuiltIn\SuperLauncher\LauncherSettingsControl.xaml;Helpers\Plugins\BuiltIn\SuperLauncher\LauncherWindow.xaml;MainWindow.xaml;MainWindow_cs\MW_Eraser.xaml;Resources\DrawShapeImageDictionary.xaml;Resources\IconImageDictionary.xaml;Resources\SeewoImageDictionary.xaml;Resources\Styles\Dark.xaml;Resources\Styles\Light.xaml;Windows\AddCustomIconWindow.xaml;Windows\AddPickNameBackgroundWindow.xaml;Windows\CountdownTimerWindow.xaml;Windows\CustomIconWindow.xaml;Windows\CycleProcessBar.xaml;Windows\HasNewUpdateWindow.xaml;Windows\HistoryRollbackWindow.xaml;Windows\ManagePickNameBackgroundsWindow.xaml;Windows\NamesInputWindow.xaml;Windows\OperatingGuideWindow.xaml;Windows\PluginSettingsWindow.xaml;Windows\RandWindow.xaml;Windows\YesOrNoNotificationWindow.xaml;
|
||||||
|
|
||||||
False
|
True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user