Skip to content

Change eyedropper to use correct message - #327

Merged
Keavon merged 1 commit into
masterfrom
fix-eyedropper
Aug 3, 2021
Merged

Change eyedropper to use correct message#327
Keavon merged 1 commit into
masterfrom
fix-eyedropper

Conversation

@henryksloan

@henryksloanhenryksloan commented Aug 2, 2021

Copy link
Copy Markdown
Contributor

Closes#326

Diagnosed as a regression of #300 due to #305

The fix simply was due to not changing the message that the eyedropper tool dispatched. It originally used FrontendMessage::UpdateWorkingColors, which was the original cause of loopy behavior. When the looping tendency was fixed, this should have been replaced with ToolMessage::SelectPrimaryColor and ToolMessage::SelectSecondaryColor. This PR does that replacement, which then propagates the change with a FrontendMessage.


This change is Reviewable

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with Cloudflare Pages Cloudflare Pages

Latest commit:3996673
Status: ✅ Deploy successful!
Preview URL:https://2ae6fcec.graphite-master.pages.dev

View logs

@TrueDoctorTrueDoctor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@Keavon
Keavon merged commit 86a9778 into masterAug 3, 2021
@Keavon
Keavon deleted the fix-eyedropper branch August 3, 2021 20:35
Keavon pushed a commit that referenced this pull request Jun 16, 2022
Keavon pushed a commit that referenced this pull request Jul 30, 2023
Sign up for freeto 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.

Eyedropper Tool color selection doesn't actually set the color

3 participants

@henryksloan@Keavon@TrueDoctor