Skip to content
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

fix: replace color picker in figma plugin #3048

Merged
merged 2 commits into from
May 1, 2020

Conversation

nicholasrice
Copy link
Contributor

@nicholasrice nicholasrice commented May 1, 2020

Description

Standardizes the color-picker control so we don't have differences and bugs stemming from native implementations of the color picker.

Motivation & context

The color-picker shipped by OSX likes to send 100s of events per second while the user is dragging around the color-wheel. This requires a whole host of issues to fix, including debouncing the event, maintaining an un-denounced state so the picker doesn't feel laggy, and reconciling the two when the user stops interacting.

Issue type checklist

  • Chore: A change that does not impact distributed packages.
  • Bug fix: A change that fixes an issue, link to the issue above.
  • New feature: A change that adds functionality.

Is this a breaking change?

  • This change causes current functionality to break.

Process & policy checklist

  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

@nicholasrice nicholasrice self-assigned this May 1, 2020
@nicholasrice nicholasrice merged commit 7f7a403 into master May 1, 2020
@nicholasrice nicholasrice deleted the users/nirice/fix-figma-plugin-color-picker branch May 1, 2020 00:33
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.

3 participants