Repository navigation
M3: Scale Strokes & Effects is off by default - #64
Merged
Merged
Conversation
New preferences start with Scale Strokes & Effects off, as in Illustrator: scaling an object keeps its stroke weights, dashes and effect distances unless the option (or `strokes: true`) is on. Preference files that already store the option keep their value. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scale Strokes & Effects now defaults to off, matching Illustrator's default. Scaling an object keeps its stroke weights, dash lengths and effect distances, unless the option is on or a command passes
strokes: true.Prefs::default().scale_strokesis nowfalse(crates/engine/src/lib.rs).scaleStrokeskeep their value. VectorCraft saves every preference, so an existing install that never changed it still has it on until it's turned off in General ▸ Options, the Transform panel or the Scale dialog.docs/mcp.mdnow says bothscaleStrokesandscaleCornersare off by default.tests::rotate_and_scalenow checks both behaviours: by default a 200% scale keeps the 1 pt stroke, and withstrokes: truethe stroke goes to 2 pt.Checks
Rebased onto
5750786(#63).cargo xtask cipasses all 7 steps (fmt, clippy, test, assets, brands, layers, wasm): 1,903 tests, 0 failed.🤖 Generated with Claude Code