Repository navigation
Conversation
In xodp, in edit mode, a click picks one of the slide's own shapes, a drag moves it, and a drag on a corner handle moves that corner with the opposite one fixed. Each frame of the drag writes the four `svg:` attributes through `set_geometry`, so the shape is drawn where it is rather than previewed, and the tree is recorded once when the drag begins, so a drag is one undo step. Escape and a click on the empty page put the pick down; changing slide does too. The hit is tested where the button went down. egui reports a drag only once the pointer has travelled past its threshold and gives the pointer's position then, ten points from an eight-point handle, which is how the first attempt at a resize deselected the shape instead. What is not picked: a shape placed by `draw:transform`, which states no corner; a line, placed by its ends; a connector; a group; and everything the master page contributes. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Merged
Member
Author
|
Closed by a branch deletion during a stacked merge, not by a decision: its commits reached |
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.
The fourth slice of 0.4.0, on top of #13. In xodp, in edit mode, a click picks one of the slide's own shapes, a drag moves it, and a drag on a corner handle moves that corner with the opposite one fixed. Each frame of the drag writes the four
svg:attributes throughset_geometryin the unit they were read in, so the shape is drawn where it is; the tree is recorded once when the drag begins, so a drag is one undo step. Not picked: a shape placed bydraw:transform, a line, a connector, a group, and the master page's decorations.The hit is tested where the button went down. egui reports a drag only once the pointer has travelled past its threshold and gives the pointer's position then, ten points from an eight-point handle, which is how the first attempt at a resize deselected the shape instead of resizing it.
Checked: clippy with
-D warnings, fmt, the catalogue check, the full test suite, and the window on X11: the title frame of the corpus deck picked with its four handles, dragged, saved withsvg:x="4.8971cm"in the file, then its bottom-right handle dragged 100 by 40 points and saved assvg:width="18.2644cm" svg:height="4.3918cm"with x and y unchanged, and Ctrl+Z putting the frame back.🤖 Generated with Claude Code