Snapping: tangent and perpendicular snapping, View > Snapping (#2530)

Squashed from #2537 onto main.
This commit is contained in:
bflatastic
2026-10-23 03:22:54 +07:00
parent ffeb37f481
commit 8bf7ffe39d
38 changed files with 431 additions and 21 deletions
+4
View File
@@ -969,6 +969,8 @@ pub struct Prefs {
pub measurement_labels: bool,
pub spacing_guides: bool,
pub snapping_tolerance: f64,
pub snap_tangent: bool,
pub snap_perpendicular: bool,
// Slices
pub show_slice_numbers: bool,
pub slice_line_color: String,
@@ -1218,6 +1220,8 @@ impl Default for Prefs {
measurement_labels: true,
spacing_guides: true,
snapping_tolerance: 4.0,
snap_tangent: true,
snap_perpendicular: true,
show_slice_numbers: true,
slice_line_color: s("#ff3f3f"),
hyphenation_language: s("English: USA"),