Skip to content

color-picker: don't use eyedropper hack - #9160

Open
mxmou wants to merge 1 commit into
ScratchAddons:masterfrom
mxmou:no-eyedropper-hack
Open

color-picker: don't use eyedropper hack#9160
mxmou wants to merge 1 commit into
ScratchAddons:masterfrom
mxmou:no-eyedropper-hack

Conversation

@mxmou

@mxmou mxmou commented Aug 11, 2026

Copy link
Copy Markdown
Member

Resolves #5993

Changes

Changes how the hex color picker sets the color: instead of simulating a click on the eyedropper, it now calls a method of Scratch's color picker component.

Reason for changes

The new implementation is simpler. It also fixes a bug where a user click could deactivate the eyedropper before the addon did.

Tests

Tested on Edge and Firefox.

@mxmou mxmou self-assigned this Aug 11, 2026
@mxmou mxmou added the scope: addon Related to one or multiple addons label Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: addon Related to one or multiple addons

Projects

None yet

Development

Successfully merging this pull request may close these issues.

color-picker bug

1 participant