Skip to content

Conversation

@yaxit24
Copy link

@yaxit24 yaxit24 commented Nov 27, 2025

Fixes: #7548

Changes:
I fixed a bug where calling noSmooth() in WebGL mode would unnecessarily recreate the canvas, causing it to lose its CSS positioning. The fix involves checking the actual WebGL context attributes to see if antialiasing is already disabled before attempting to disable it again.

  • [☑️] npm run lint passes

@yaxit24
Copy link
Author

yaxit24 commented Nov 28, 2025

@ksen0 Please review.

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.

noSmooth() breaks positioned WEBGL canvas

1 participant