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/redo history to the map editor #44

Merged
merged 9 commits into from
Sep 26, 2023

Conversation

white-axe
Copy link
Collaborator

@white-axe white-axe commented Sep 26, 2023

This pull request adds the ability to undo map operations by pressing Ctrl+Z and the ability to redo map operations by pressing Ctrl+Y or Ctrl+Shift+Z.

A map operation is defined here as drawing tiles with any brush, moving an event, adding an event or removing an event.

src/tabs/map.rs Outdated Show resolved Hide resolved
@white-axe white-axe requested a review from melody-rs September 26, 2023 19:24
@melody-rs melody-rs merged commit 67d04b4 into Astrabit-ST:master Sep 26, 2023
4 checks passed
@white-axe white-axe deleted the history branch September 26, 2023 20:46
@white-axe white-axe added the core functionality a feature provided in rpg maker label Jan 21, 2024
@melody-rs melody-rs added this to the v1.0 milestone Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core functionality a feature provided in rpg maker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants