Skip to content

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

Merged
lstein merged 4 commits into
invoke-ai:mainfrom
DustyShoe:agent/fix-color-picker-hotkey
Aug 14, 2026
Merged

fix(canvas): restore eyedropper hotkey after tool changes#9482
lstein merged 4 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

@lstein lstein left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lstein
lstein merged commit 0ea5e33 into invoke-ai:main Aug 14, 2026
17 checks passed
@DustyShoe
DustyShoe deleted the agent/fix-color-picker-hotkey branch August 14, 2026 23:05
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

2 participants