@lancom/shared 0.0.316 → 0.0.317

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.
@@ -136,12 +136,12 @@ export default class FabricHelper {
136
136
 
137
137
  setPrintArea(printArea, size, product) {
138
138
  this.printAreaRect = getPrintAreaByName({
139
- printArea: printArea?._id,
139
+ printArea: printArea?.parentPrintArea || printArea?._id,
140
140
  printSize: printArea?.printSize,
141
141
  printAreaOffsets: printArea?.printAreaOffsets,
142
142
  editorWidth: size.width,
143
143
  editorHeight: size.height
144
- }, product);
144
+ }, product, true);
145
145
  if (this.background) {
146
146
  this.background.setBoundingRect(this.printAreaRect);
147
147
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lancom/shared",
3
- "version": "0.0.316",
3
+ "version": "0.0.317",
4
4
  "description": "lancom common scripts",
5
5
  "author": "e.tokovenko <e.tokovenko@gmail.com>",
6
6
  "repository": {