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

Is there a way to massage the state in history mode? #170

Open
wanderley opened this issue Mar 8, 2022 · 0 comments
Open

Is there a way to massage the state in history mode? #170

wanderley opened this issue Mar 8, 2022 · 0 comments

Comments

@wanderley
Copy link

wanderley commented Mar 8, 2022

I am developing a game and I allow one of my cards to be "live" (:live? true in my data) which means that the clock ticks every few mileseconds. This causes a problem in history mode, because navigating to the previous state would turn :live? on what mutates the state right after I navigate one step on the past. I would like to set this flag to false either when I am in history mode or when it is saving the snapshots.

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

No branches or pull requests

1 participant