-
-
Notifications
You must be signed in to change notification settings - Fork 577
Make the Pen tool show a path being closed by drawing a filled overlay when hovering the endpoint #2521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Make the Pen tool show a path being closed by drawing a filled overlay when hovering the endpoint #2521
Conversation
…y when hovering the endpoint
Thank you. The failed build made me notice I forgot to upload one file. Apologies. |
|
pen_tool.rs requires formatting |
aa7ff13
to
e11b57a
Compare
Please mark your fork as writable by maintainers of this org, since I can't push edits or even resolve conflicts in your PR. I can do a proper code review after that point. Mark this as ready for review once that's ready, thanks. |
Can you please try a version of the Fill tool where we use the stripes, with a fully opaque version of the fill color, drawn over what's hovered instead of the semitransparent solid version? |
Yes, but with (roughly 2x) denser stripes. |
It looks like you've implemented it with a fully opaque fill color + fully opaque blue stripes. My request was just for fully opaque fill color stripes. Separately, it looks like you changed the Pen tool shape-closing opacity, can you please set that back to how I had tuned it? |
!build |
|
Here's a video of it occurring as soon as I reload the editor and open the document and switch to the Fill tool for the first time shown in the video and simply move the mouse a little bit. This seems reproducible. capture_57_.mp4Here's the file (remove the |
I can't reproduce the issue. Maybe it depends on the user's setup. For now, let's try setting the line width to a fixed value to see if it solves the issue. |
!build |
|
The shrinking lines bug is still there and pretty easy to replicate using the instructions I gave above. |
Looks like it happens only in Firefox. |
I just downloaded Firefox 137.0.2 and don't happens to me either. Might it have anything to do with resolution, user's software or hardware? |
2025-04-18.10-43-46.mp42025-04-18.10-46-49.mp4For the correct commit, I got the same error on Firefox 132.0, Fedora Linux 40: 2025-04-18.11-19-51.mp42025-04-18.11-21-25.mp4 |
Even weirder! Thanks for testing. |
!build |
|
!build |
|
Now the pen tool shows a path being closed as requested in #2390 but doesn't work well with vector meshes. The fill tool shows the region to be filled by drawing a filled overlay too. Few new methods were added to the
OverlayContext
for drawing paths and filling areas.