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

Fix the lty property in canvas graphics device #301

Merged
merged 4 commits into from
Oct 19, 2023
Merged

Fix the lty property in canvas graphics device #301

merged 4 commits into from
Oct 19, 2023

Conversation

georgestagg
Copy link
Member

@georgestagg georgestagg commented Oct 17, 2023

Fixes #289. Fixes #304.

This avoids an issue when using .save() and .restore() canvas graphics
API and setting the line type. By always setting the type, even if it
has not changed in principle, the line type is correctly set after a
.restore() operation.
@georgestagg georgestagg merged commit 0df645e into main Oct 19, 2023
2 checks passed
@georgestagg georgestagg deleted the fix-lty branch October 19, 2023 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant