Skip to content

fix: remove fixed canvas dimensions from bind:this tutorial#1969

Open
NlDev-hub wants to merge 1 commit into
sveltejs:mainfrom
NlDev-hub:fix/bind-this-canvas-size
Open

fix: remove fixed canvas dimensions from bind:this tutorial#1969
NlDev-hub wants to merge 1 commit into
sveltejs:mainfrom
NlDev-hub:fix/bind-this-canvas-size

Conversation

@NlDev-hub
Copy link
Copy Markdown

Fixes #775.

This removes the fixed width/height attributes from the bind:this tutorial canvas examples. The visible canvas size is already controlled by CSS, and the fixed 32x32 attributes make the lesson look like it is demonstrating canvas sizing rather than focusing on bind:this.

Checks:

  • Ran Prettier on the changed files
  • Ran git diff --check

@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

@NlDev-hub is attempting to deploy a commit to the Svelte Team on Vercel.

A member of the Team first needs to authorize it.

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.

Width and height values non-functional on "this" bindings tutorial

1 participant