Skip to content

Fix undo after loading the app with saved entities in local storage #27

@bertyhell

Description

@bertyhell

steps:

  • draw something
  • save to local storage (save drawing)
  • reload the page
  • align the entities to the left
  • undo ctrl + z

expected behavior: entities become unaligned
current behavior: entities are deleted

the first undo state when something is loaded from local storage should be the drawing from local storage, we should skip the empty state in the undo history

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions