Skip to content

fix(field-bitmap): revert separate keys for revert and commit- #2760 - #10205

Merged
mikeharv merged 1 commit into
RaspberryPiFoundation:mainfrom
mikeharv:revert-bitmap-revert-core
Jul 29, 2026
Merged

fix(field-bitmap): revert separate keys for revert and commit- #2760#10205
mikeharv merged 1 commit into
RaspberryPiFoundation:mainfrom
mikeharv:revert-bitmap-revert-core

Conversation

@mikeharv

Copy link
Copy Markdown
Contributor

The basics

This work is being duplicated in samples at RaspberryPiFoundation/blockly-samples#2760 as plugins are not yet publishable from the monorepo.

The details

Proposed Changes

Removes the recently added private onEditorKeyDown method from FieldBitmap which handled committing updated field values or reverting to the initial value.

This also unmarks field-bitmap and field-colour-hsv-sliders as private so that we can release 13.2.0 versions of each.

Reason for Changes

Part of RaspberryPiFoundation/blockly-samples#2754 included a behavior change where pressing escape would revert to the initial field value. This aligns to other fields, but it was deemed too risky as it's worse to suddenly lose a bunch of pixel changes than it is to have to hit undo if you didn't mean to commit them.

@mikeharv
mikeharv merged commit b93c504 into RaspberryPiFoundation:main Jul 29, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants