Repository navigation
Fix #40: W/H constrain-proportions link in the Properties panel and Control bar - #156
Merged
Merged
Conversation
…ontrol bar The Transform panel had the link, but kept it in panel-local egui memory; the Properties panel's Transform section and the Control bar had none, so size changes there were never proportional. The link is now the constrainProportions preference (prefs.get/prefs.set), one toggle shared by the three places (transform::constrain_link), and every W/H field passes it to object.setBounds as `proportional`. 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.
Fixes #40: a constrain-proportions link between W and H in the Properties panel and the Control bar, as well as the Transform panel.
constrainProportions(prefs.get/prefs.set), which also appears as a checkbox in Preferences ▸ General.transform::constrain_linkbutton sits between W and H in all three places, and every W/H field passesproportionaltoobject.setBounds.panels/tests_constrain.rs.Checks
mainat8adc629(Fix #39: rotated objects keep their angle and a rotated bounding box #153).cargo xtask cipasses all 7 steps (fmt, clippy, tests, assets, brands, layers, wasm) at the top of the stack.main, the stack keeps every test (2951 → 2966 by name; no existing test changed), every engine command (+text.discardEmpty), and every UI command, menu entry and MCP tool.🤖 Generated with Claude Code