feat(grid): the coloured grid axis lines can be turned off (#1815)

Drafting Settings > Snap and Grid gains "Display grid axis lines",
kept with the other grid settings; the grid itself stays as it is.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-10-16 00:42:03 +03:00
1 parent 091331f3bd
commit 977135fbbd
31 files changed
+58 -1

No files matched your search

+4
View File
@@ -704,6 +704,9 @@ pub struct UserSettings {
/// Display grid beyond LIMITS (default on, matches dialog).
#[serde(default = "default_true")]
pub grid_beyond_limits: bool,
/// Draw the coloured X/Y axis lines through the grid origin.
#[serde(default = "default_true")]
pub grid_axes: bool,
/// Most-recently-inserted block names, most recent first, capped to 20.
/// Used to rank INSERT suggestions without touching the drawing file.
#[serde(default)]
@@ -1052,6 +1055,7 @@ impl Default for UserSettings {
grid_major_every: 5,
grid_adaptive: true,
grid_beyond_limits: true,
grid_axes: true,
block_mru: Vec::new(),
block_freq: std::collections::HashMap::new(),
block_recent: Vec::new(),