Skip to content

Commit

Permalink
remove erasing initial map
Browse files Browse the repository at this point in the history
  • Loading branch information
mapmeld committed Nov 11, 2024
1 parent e2d80a3 commit dc6d577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/app/components/sidebar/UndoRedoButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function UndoRedoButton({ isRedo = false }) {
disabled={
isRedo
? futureStates.length === 0
: pastStates.length === 0
: pastStates.filter((state) => state.zoneAssignments.size).length <= 1
}
>
<div style={{ transform: isRedo ? "rotateY(180deg)" : "" }}>
Expand Down

0 comments on commit dc6d577

Please sign in to comment.