Skip to content

Fix canvas render on web target#1672

Merged
rcoreilly merged 1 commit intocogentcore:mainfrom
BioniCosmos:main
Apr 25, 2026
Merged

Fix canvas render on web target#1672
rcoreilly merged 1 commit intocogentcore:mainfrom
BioniCosmos:main

Conversation

@BioniCosmos
Copy link
Copy Markdown
Contributor

@BioniCosmos BioniCosmos commented Apr 24, 2026

Transforming the normalized coordinates using the ctx.Cumulative matrix will fix the issue.

Before

Before

After

After

Fixes #1671

Copy link
Copy Markdown
Member

@rcoreilly rcoreilly left a comment

Choose a reason for hiding this comment

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

Thanks for finding this -- I renamed that a while back but obviously missed this case!

@rcoreilly rcoreilly merged commit a8e193e into cogentcore:main Apr 25, 2026
1 check passed
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.

Bad canvas render on web target

2 participants