fix drawing tests when running in browser

This commit is contained in:
juliandescottes 2016-11-24 14:18:52 +01:00
parent 5996216ae7
commit 0cb4a7831b

View File

@ -44,6 +44,7 @@
};
ns.HistoryService.prototype.saveState = function (action) {
this.stateQueue = this.stateQueue.slice(0, this.currentIndex + 1);
this.currentIndex = this.currentIndex + 1;
var state = {