Skip to content

fix(canvas): restore eyedropper hotkey after tool changes - #9482

Open
DustyShoe wants to merge 2 commits into
invoke-ai:mainfrom
DustyShoe:agent/fix-color-picker-hotkey
Open

fix(canvas): restore eyedropper hotkey after tool changes#9482
DustyShoe wants to merge 2 commits into
invoke-ai:mainfrom
DustyShoe:agent/fix-color-picker-hotkey

Conversation

@DustyShoe

Copy link
Copy Markdown
Collaborator

Summary

  • keep the canvas eyedropper hotkey registered after the eyedropper becomes active
  • allow I to select the eyedropper again after switching to another canvas tool

Root cause

The hotkey registration was dynamically disabled while the eyedropper was selected. After the first activation, the registration did not reliably become active again when another tool was selected.

Validation

  • pnpm vitest run src/features/controlLayers/konva/CanvasTool/toolHotkeys.test.ts (17 tests passed)
  • manually verified repeated I -> other tool -> I cycles without reloading the UI

Fixes #9467

@github-actions github-actions Bot added the frontend PRs that change frontend files label Aug 9, 2026
@DustyShoe
DustyShoe force-pushed the agent/fix-color-picker-hotkey branch from b7eb0f8 to 1936a24 Compare August 9, 2026 12:40
@DustyShoe DustyShoe changed the title fix(canvas): keep eyedropper hotkey active fix(canvas): restore eyedropper hotkey after tool changes Aug 9, 2026
@DustyShoe
DustyShoe marked this pull request as ready for review August 9, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend PRs that change frontend files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug]: "i" hotkey on canvas no longer activates the eyedropper tool

1 participant