Skip to content

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.

3 participants