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

color picker + misc bug fix #45

Merged
merged 11 commits into from
Dec 15, 2023
Merged

color picker + misc bug fix #45

merged 11 commits into from
Dec 15, 2023

Conversation

hiddenist
Copy link
Owner

@hiddenist hiddenist commented Dec 14, 2023

This fixes an issue where, when selecting a color on mobile, the canvas is cleared out on the next draw.

It also fixes these problems:

  • The color history was not being populated.
  • The first point in a line was being drawn at maximum weight.

Closes #44

@hiddenist
Copy link
Owner Author

Also adds a makeLayer, which is a refactor, not a fix.
I don't want to hear any sass. It's my side project and I can be as messy as I want 😤

Plus, vscode doesn't give me an easy interface to only commit specific lines. I'm guessing there's a plugin that can do that, but... that would require me actually looking.
@hiddenist hiddenist changed the title color picker bug color picker + misc bug fix Dec 15, 2023
@hiddenist hiddenist marked this pull request as ready for review December 15, 2023 05:08
@hiddenist hiddenist merged commit 10033f2 into main Dec 15, 2023
1 check passed
@hiddenist hiddenist deleted the issue-44 branch December 15, 2023 05:08
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.

Choosing a color currently is broken on mobile-sized windows
1 participant