make pen/pencil/spline stroke weight match shape tools and fix stroke weight change behaviour during transformation#3894
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request standardizes the stroke weight behavior across various drawing tools, specifically pen, pencil, and spline, to ensure they behave consistently with other shape tools. The core change involves reordering graph nodes to apply transformations correctly before stroke rendering, which resolves issues where stroke weights would appear to change unexpectedly during scaling or other transformations. This enhancement improves the predictability and reliability of drawing operations. Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request correctly adds a Transform node when creating layers with the pen, pencil, and spline tools. This change makes the stroke weight behavior consistent with the shape tools. The implementation is solid, and I've added a few minor suggestions to improve code conciseness and consistency across the modified files.
can you please explain what desired change are you talking about? |
Fixed, as it doesn't exist. |
e58c1de to
df8001f
Compare
Fixes #3893
-Insert Transform before Stroke when creating pen, pencil, and spline layers
-Prevent post stroke transform insertion from changing apparent stroke width
-Fix moved value ownership issue in spline/path node construction