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

play: Fix dash reset issues #466

Merged
merged 1 commit into from
Mar 5, 2025
Merged

play: Fix dash reset issues #466

merged 1 commit into from
Mar 5, 2025

Conversation

juliaogris
Copy link
Member

@juliaogris juliaogris commented Mar 5, 2025

Fix dash reset issues with an explicit check for dash. Previously it resulted
in the incorrect:

canvas.ctx.setLineDash([0])

Now it results in the correct:

canvas.ctx.setLineDash([])

See https://evy-lang-stage-play--466-09qkylmw.web.app/#source=https://gist.githubusercontent.com/juliaogris/628d08c39d2710b04ce2fe0b17e7827f/raw/newton.evy

Fix dash reset issues with an explicit check for `dash`. Previously it resulted
in the incorrect:

	canvas.ctx.setLineDash([0])

Now it results in the correct:

	canvas.ctx.setLineDash([])
Copy link
Member

@camh- camh- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥬

@juliaogris juliaogris merged commit 21c3d0c into main Mar 5, 2025
7 of 8 checks passed
@juliaogris juliaogris deleted the dash-fix branch March 5, 2025 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants