Skip to content

Change eyedropper to use correct message #327

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 3, 2021
Merged

Change eyedropper to use correct message #327

merged 1 commit into from
Aug 3, 2021

Conversation

henryksloan
Copy link
Contributor

@henryksloan henryksloan commented Aug 2, 2021

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

Deploying with  Cloudflare Pages  Cloudflare Pages

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

View logs

Copy link
Member

@TrueDoctor TrueDoctor left a comment

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 master Aug 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 free to 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