Skip to content
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

Gradient stops not working correctly if the gradient is used as path stroke color #646

Open
RedFurryDemon opened this issue Apr 10, 2024 · 3 comments
Labels

Comments

@RedFurryDemon
Copy link
Contributor

Bug occurs inconsistently. Further testing needed.

Expected behavior:

Like gradients used for any fill colors or stroke colors of shapes other than path, gradients used as path stroke colors should update both in the preview window and in the SVG text editor immediately after any of their stop properties are changed.

Current behavior:

Gradients used as path stroke colors may fail to update in the preview window until the preview is zoomed in/out. They may also fail to update at all in the SVG text editor. These problems seem to occur together.

Sample file:
gradient_stroke_sample

(Steps to reproduce):
Using GodSVG UI, edit any of the stop properties of g_stroke. The bug may or may not appear.

@MewPurPur
Copy link
Owner

MewPurPur commented Apr 10, 2024

Thanks for the report! Could you post the SVG text itself?

@RedFurryDemon
Copy link
Contributor Author

When this occurs, the SVG text before and after editing the stops is identical.

I uploaded the file in the bug report - open in new tab, view page source to see the SVG text.

@MewPurPur
Copy link
Owner

MewPurPur commented Apr 11, 2024

Can't reproduce. A video would help as it would let me see how you're getting it to happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants