diff --git a/example/package-lock.json b/example/package-lock.json index 42d01d3..8c06e82 100644 --- a/example/package-lock.json +++ b/example/package-lock.json @@ -4411,8 +4411,8 @@ "dev": true }, "drawify": { - "version": "file:../drawify-0.0.12.tgz", - "integrity": "sha512-as9jxK901dMsZld2zlxKxaWIuOmYQzdpb4qvMs/ixU3MPDcw8WNEtQNrAOXz5qKvdufa28cvm4G1Siorva1Tsw==", + "version": "file:drawify-0.0.13.tgz", + "integrity": "sha512-hl0heR6MM/X1R0pYBahjWCD+MtKl+EfB75Xyg+ig9Y34Mc88SOofTbkw/rgfSPpOAXTX1Ib/sG49FJ0jl4Iu/g==", "requires": { "tsyringe": "^4.0.1" } diff --git a/example/package.json b/example/package.json index 1ea1580..097f071 100644 --- a/example/package.json +++ b/example/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "core-js": "^3.4.4", - "drawify": "file:../drawify-0.0.12.tgz", + "drawify": "file:drawify-0.0.13.tgz", "material-design-icons-iconfont": "^5.0.1", "vue": "^2.6.10", "vue-class-component": "^7.0.2", diff --git a/package-lock.json b/package-lock.json index 837b060..b0657af 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "drawify", - "version": "0.0.12", + "version": "0.0.13", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 4948fd1..2e409a7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "drawify", - "version": "0.0.12", + "version": "0.0.13", "description": "A drawing board with recording functionality", "main": "lib/ServiceBuilder.js", "dependencies": { diff --git a/src/Controllers/Dispatcher.ts b/src/Controllers/Dispatcher.ts index 90fec0e..dba808e 100644 --- a/src/Controllers/Dispatcher.ts +++ b/src/Controllers/Dispatcher.ts @@ -119,7 +119,7 @@ export default class Dispatcher { this.recorder.record(action); this.commitAction(action); } - + public commitEdit(action: IAction): void { console.log('EDIT: ' + Targets[action.target]); this.editListeners.forEach(listener => listener(action))