Skip to content

Fix live preview sync in bitmap creator#70

Merged
foorschtbar merged 1 commit into
pixelit-project:masterfrom
rom98759:master
May 25, 2026
Merged

Fix live preview sync in bitmap creator#70
foorschtbar merged 1 commit into
pixelit-project:masterfrom
rom98759:master

Conversation

@rom98759
Copy link
Copy Markdown
Contributor

This PR fixes the bitmap creator so the textarea and the pixel preview stay in sync.
The preview is now driven by the bitmap state instead of only reacting to pixel clicks, which allows manual edits in the textarea to update the grid correctly.

The change is intentionally kept small:

  • Pixel state is now controlled from the parent
  • Art receives per-pixel background values
  • Creator initializes and synchronizes the bitmap values with the textarea

Validation:

  • Lint passed on the touched Vue files

@rom98759
Copy link
Copy Markdown
Contributor Author

Issues : #64 (comment)

@foorschtbar foorschtbar merged commit 0702a23 into pixelit-project:master May 25, 2026
1 check passed
@foorschtbar
Copy link
Copy Markdown
Member

Thy, will be rolled out with the next release

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.

2 participants