@lancom/shared 0.0.343 → 0.0.344
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -215,8 +215,12 @@ export default {
|
|
|
215
215
|
...mapMutations([
|
|
216
216
|
'setEditableSide',
|
|
217
217
|
'setSelectedPrintArea',
|
|
218
|
-
'setEditablePrintArea'
|
|
218
|
+
'setEditablePrintArea',
|
|
219
|
+
'setSelectedLayer'
|
|
219
220
|
]),
|
|
221
|
+
zoomOut() {
|
|
222
|
+
this.setSelectedLayer(null);
|
|
223
|
+
},
|
|
220
224
|
onWorkspaceChange({ size, fabricHelper }) {
|
|
221
225
|
this.fabricHelper = fabricHelper;
|
|
222
226
|
this.size = size;
|
|
@@ -271,6 +275,9 @@ export default {
|
|
|
271
275
|
this.$refs.editor.toogleBoundBox(state, printAreaOption);
|
|
272
276
|
}
|
|
273
277
|
},
|
|
278
|
+
zoomOut() {
|
|
279
|
+
|
|
280
|
+
}
|
|
274
281
|
}
|
|
275
282
|
};
|
|
276
283
|
</script>
|