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

Add undo and redo buttons #37

Closed
wants to merge 7 commits into from
Closed

Add undo and redo buttons #37

wants to merge 7 commits into from

Conversation

ashleybaldock
Copy link
Collaborator

Not very pretty yet, but a quick win.

@vercel
Copy link

vercel bot commented May 31, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
noita-wand-simulator ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 31, 2023 8:56am

calledActions!.filter((a) => a.action.id === 'RESET').length > 0) ||
calledActions!.length === 0
calledActions!.length === 0 ||
(endOnRefresh && calledActions!.some((a) => a.action.id === 'RESET'))
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This isn't related to the undo/redo bit, changed it while trying to fix the add trigger bug and it feels slightly better :)

@ashleybaldock
Copy link
Collaborator Author

This is included in #40 - so a bit redundant.

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.

undo/redo - integrate with browser history & url add undo/redo buttons to UI
1 participant