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

feat: add undo, improved menus, clear also resets time #11

Merged
merged 1 commit into from
Aug 24, 2024
Merged

Conversation

TN1ck
Copy link
Owner

@TN1ck TN1ck commented Aug 24, 2024

CleanShot 2024-08-25 at 00 49 30

CleanShot.2024-08-25.at.00.48.42.mp4
  • Adds the undo feature, it can be triggered with the "undo" button or cmd/ctrl+z
  • When using a keyboard, redo is also available with cmd/ctrl+y
  • Improved the menu, so that it looks better on mobile and moved New/Clear to the top
  • Shortcuts are not shown on very small displays (as a keyboard is most likely not present)

@TN1ck
Copy link
Owner Author

TN1ck commented Aug 24, 2024

Fixes #10

@TN1ck TN1ck merged commit 4ec28b7 into master Aug 24, 2024
2 checks passed
@mgrider
Copy link

mgrider commented Aug 25, 2024

Well done. Not sure I've ever looked at such clear/readable javascript. 😂

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.

2 participants