canvas-editor-engine 2.3.3 → 2.3.4

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -2253,7 +2253,7 @@ var DrawAccumulator = function() {
2253
2253
  var layer = _this.drawLayersService.layerList.find((function(layer) {
2254
2254
  return layer.painters.includes(painter);
2255
2255
  }));
2256
- if (!layer) return;
2256
+ if (!layer) return console.warn("[invoke] Layer not found");
2257
2257
  if (!stash.includes(painter) && layer.order === order) {
2258
2258
  _this.invokePainterWithTempCtx(painter.drawType, painter.drawService);
2259
2259
  stash.push(painter);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "canvas-editor-engine",
3
- "version": "2.3.3",
3
+ "version": "2.3.4",
4
4
  "description": "CanvasEditorEngine library, use: [typescript] [canvas]",
5
5
  "main": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",