Skip to content

fix(renderer): restore canvas style guard for styleless canvases - #984

Merged
wouterlucas merged 1 commit into
lightning-js:mainfrom
eXecutable:fix/styleless-canvas
Nov 20, 2026
Merged

wouterlucas merged 1 commit into
lightning-js:mainfrom
eXecutable:fix/styleless-canvas

Conversation

@eXecutable

Copy link
Copy Markdown
Collaborator

Re-add support for ION platform by not depending on the style property of the canvas.

Platforms may provide a canvas without a style property. Reintroduce the
guard around setting canvas.style dimensions and type the renderer canvas
as RendererCanvas so style is optional.
@wouterlucas
wouterlucas merged commit 54b4297 into lightning-js:main Nov 20, 2026
5 checks 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.

3 participants