diff --git a/js/main.js b/js/main.js index ef4f6d7..f27dec5 100644 --- a/js/main.js +++ b/js/main.js @@ -1,5 +1,5 @@ var Tegaki = { - VERSION: '0.9.1', + VERSION: '0.9.2', startTimeStamp: 0, diff --git a/js/replayevents.js b/js/replayevents.js index 1f09291..fe58572 100644 --- a/js/replayevents.js +++ b/js/replayevents.js @@ -38,6 +38,8 @@ class TegakiEventPrelude extends TegakiEvent_void { this.type = TegakiEvents[this.constructor.name][0]; } + static unpack(r) { return super.unpack(r); } // FF bug 1628719 + dispatch() {} } @@ -48,6 +50,8 @@ class TegakiEventConclusion extends TegakiEvent_void { this.type = TegakiEvents[this.constructor.name][0]; } + static unpack(r) { return super.unpack(r); } // FF bug 1628719 + dispatch() {} } @@ -58,6 +62,8 @@ class TegakiEventHistoryDummy extends TegakiEvent_void { this.type = TegakiEvents[this.constructor.name][0]; } + static unpack(r) { return super.unpack(r); } // FF bug 1628719 + dispatch() { TegakiHistory.push(new TegakiHistoryActions.Dummy()); } @@ -218,6 +224,8 @@ class TegakiEventDrawCommit extends TegakiEvent_void { this.type = TegakiEvents[this.constructor.name][0]; } + static unpack(r) { return super.unpack(r); } // FF bug 1628719 + dispatch() { Tegaki.tool.commit(); TegakiUI.updateLayerPreview(Tegaki.activeLayer); @@ -234,6 +242,8 @@ class TegakiEventUndo extends TegakiEvent_void { this.type = TegakiEvents[this.constructor.name][0]; } + static unpack(r) { return super.unpack(r); } // FF bug 1628719 + dispatch() { TegakiHistory.undo(); } @@ -246,6 +256,8 @@ class TegakiEventRedo extends TegakiEvent_void { this.type = TegakiEvents[this.constructor.name][0]; } + static unpack(r) { return super.unpack(r); } // FF bug 1628719 + dispatch() { TegakiHistory.redo(); } @@ -436,6 +448,8 @@ class TegakiEventAddLayer extends TegakiEvent_void { this.type = TegakiEvents[this.constructor.name][0]; } + static unpack(r) { return super.unpack(r); } // FF bug 1628719 + dispatch() { Tegaki.addLayer(); } @@ -448,6 +462,8 @@ class TegakiEventDeleteLayers extends TegakiEvent_void { this.type = TegakiEvents[this.constructor.name][0]; } + static unpack(r) { return super.unpack(r); } // FF bug 1628719 + dispatch() { Tegaki.deleteSelectedLayers(); } @@ -473,6 +489,8 @@ class TegakiEventMergeLayers extends TegakiEvent_void { this.type = TegakiEvents[this.constructor.name][0]; } + static unpack(r) { return super.unpack(r); } // FF bug 1628719 + dispatch() { Tegaki.mergeSelectedLayers(); }