Skip to content

Conversation

lydell
Copy link

@lydell lydell commented Jul 12, 2025

Closes #143

Note to those following along: This PR is included in https://github.com/lydell/browser/tree/safe, which is part of https://github.com/lydell/elm-safe-virtual-dom, but it has nothing to do with “safe virtual DOM” really, it’s just in there because it’s convenient.

if size == 0 then
( model, Cmd.none )
else
( jumpUpdate update (size - 1) model
Copy link
Author

@lydell lydell Jul 12, 2025

Choose a reason for hiding this comment

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

This does the same thing as dragging the slider.

If there is no history, jumpUpdate gets stuck in an infinite loop, so we explicitly check if there’s any history and do nothing if there aren’t.

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.

Debugger pause button does nothing
1 participant