@lancom/shared 0.0.343 → 0.0.345

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.
@@ -167,7 +167,6 @@ export default {
167
167
  return this.printAreaZoomSize?.width;
168
168
  },
169
169
  isZoomIn() {
170
- console.log('selectedLayer: ', this.selectedLayer);
171
170
  return this.zoomPrintArea && !!this.selectedLayer;
172
171
  },
173
172
  printAreaZoomInStyles() {
@@ -215,8 +214,12 @@ export default {
215
214
  ...mapMutations([
216
215
  'setEditableSide',
217
216
  'setSelectedPrintArea',
218
- 'setEditablePrintArea'
217
+ 'setEditablePrintArea',
218
+ 'setSelectedLayer'
219
219
  ]),
220
+ zoomOut() {
221
+ this.setSelectedLayer(null);
222
+ },
220
223
  onWorkspaceChange({ size, fabricHelper }) {
221
224
  this.fabricHelper = fabricHelper;
222
225
  this.size = size;
@@ -270,7 +273,7 @@ export default {
270
273
  if (this.$refs.editor) {
271
274
  this.$refs.editor.toogleBoundBox(state, printAreaOption);
272
275
  }
273
- },
276
+ }
274
277
  }
275
278
  };
276
279
  </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lancom/shared",
3
- "version": "0.0.343",
3
+ "version": "0.0.345",
4
4
  "description": "lancom common scripts",
5
5
  "author": "e.tokovenko <e.tokovenko@gmail.com>",
6
6
  "repository": {