Skip to content

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

Merged
mikeharv merged 2 commits into
mainfrom
revert-revert
Jul 28, 2026
Merged

fix(field-bitmap): revert separate keys for revert and commit#2760
mikeharv merged 2 commits into
mainfrom
revert-revert

Conversation

@mikeharv

@mikeharv mikeharv commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

The basics

This work is being duplicated in core at RaspberryPiFoundation/blockly#10205 due to RaspberryPiFoundation/blockly#10203.

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 #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 1c5b031 into main Jul 28, 2026
6 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.

2 participants