mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
fix drawing tests when running in browser
This commit is contained in:
parent
5996216ae7
commit
0cb4a7831b
@ -44,6 +44,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
ns.HistoryService.prototype.saveState = function (action) {
|
ns.HistoryService.prototype.saveState = function (action) {
|
||||||
|
this.stateQueue = this.stateQueue.slice(0, this.currentIndex + 1);
|
||||||
this.currentIndex = this.currentIndex + 1;
|
this.currentIndex = this.currentIndex + 1;
|
||||||
|
|
||||||
var state = {
|
var state = {
|
||||||
|
Loading…
Reference in New Issue
Block a user