Skip to content

VectorCraft: An open-source, vector art tool written by scratch in pure Rust

Prefs: the Align to Glyph Bounds comment on its own line

bflatastic063c06b560e5
diff --git a/crates/engine/src/cmd/prefscmds.rs b/crates/engine/src/cmd/prefscmds.rs
index c7c811c03..ea43e78b8 100644
--- a/crates/engine/src/cmd/prefscmds.rs
+++ b/crates/engine/src/cmd/prefscmds.rs
@@ -376,7 +376,8 @@ pub const PREF_SPECS: &[PrefSpec] = &[
"Transform",
choice(&[("default", "Default"), ("object", "Transform Object Only"), ("pattern", "Transform Pattern Only"), ("both", "Transform Both")])
),
- p!("useRegistrationPointForSymbol", "General", "Transform Panel", "Use Registration Point for Symbol", bool), // The Align panel menu: Align and Distribute measure type by its glyphs' ink
+ p!("useRegistrationPointForSymbol", "General", "Transform Panel", "Use Registration Point for Symbol", bool),
+ // The Align panel menu's Align to Glyph Bounds: Align and Distribute measure type by its glyphs' ink.
p!("alignGlyphBoundsPoint", "Type", "Align to Glyph Bounds", "Point Text", bool),
p!("alignGlyphBoundsArea", "Type", "Align to Glyph Bounds", "Area Text", bool),
];