From cb130b82cdb74f1d2c39cf7ba696668a69bbbed6 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Tue, 2 Jun 2026 08:41:06 -0400 Subject: [PATCH] =?UTF-8?q?eyedropper=20tool=20(I)=20=E2=80=94=20sample=20?= =?UTF-8?q?colors=20via=20the=20native=20picker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A new ⊙ button in the tool palette and the I keyboard shortcut open the browser's window.EyeDropper picker so the user can sample any pixel anywhere on screen (not just our canvas) and apply the sampled hex to a smart target: - Selected shape layer → fill color (Shift = stroke color). - Selected text layer → text color. - No layer selected → pen / shape tool's default fill (or stroke), so the next thing drawn picks up the sampled hue. The eyedropper is a transient action rather than a persistent tool — invoking it doesn't change the active tool, so users can sample mid-edit without losing their cursor. Falls back to a hint toast in browsers that don't yet support window.EyeDropper (Safari). --- src/index.html | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/src/index.html b/src/index.html index d403db9..43004bd 100644 --- a/src/index.html +++ b/src/index.html @@ -4042,6 +4042,7 @@ +