spaceify
This commit is contained in:
parent
f7e83342a0
commit
e3de4d59c7
@ -979,13 +979,13 @@ export class Level {
|
|||||||
}
|
}
|
||||||
|
|
||||||
undo() {
|
undo() {
|
||||||
//reverse the pending_undo too
|
//reverse the pending_undo too
|
||||||
this.pending_undo.reverse();
|
this.pending_undo.reverse();
|
||||||
for (let undo of this.pending_undo) {
|
for (let undo of this.pending_undo) {
|
||||||
undo();
|
undo();
|
||||||
}
|
}
|
||||||
this.pending_undo = [];
|
this.pending_undo = [];
|
||||||
|
|
||||||
this.aid = Math.max(1, this.aid);
|
this.aid = Math.max(1, this.aid);
|
||||||
|
|
||||||
let entry = this.undo_stack.pop();
|
let entry = this.undo_stack.pop();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user