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 resolves a rendering regression where shape stroke thickness was incorrectly applied due to an improper order of operations within the node chain. By reordering the application of stroke, fill, and transform messages, shapes now render with their strokes correctly positioned, ensuring visual accuracy and consistency. 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 fixes the stroke thickness regression by reordering the application of fill, transform, and stroke operations for shapes. The added comment explaining the node insertion order is very helpful. I've suggested a small refactoring to reduce code duplication by moving the common apply_stroke call out of the match statement. Overall, this is a good fix.
1751d67 to
e6a1fae
Compare
|
The whole point of my change was to move stroke directly before fill. The bug is that the Transform node gets stuck between the two. Judging by your before-and-after screenshots, it looks like you've merely reverted my change, not fixed the scenario where the Transform node incorrectly gets stuck in between. |
24f5024 to
97d7576
Compare
97d7576 to
6e8e5c5
Compare
|
@Keavon , updated the branch with |
Fixes the regression from #3789 and the discord discussion
https://discord.com/channels/731730685944922173/731738914812854303/1478349441818951701
Screen.Recording.2026-03-04.at.4.58.30.AM.mov