@meta2d/core 1.0.97 → 1.0.99

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meta2d/core",
3
- "version": "1.0.97",
3
+ "version": "1.0.99",
4
4
  "description": "@meta2d/core: Powerful, Beautiful, Simple, Open - Web-Based 2D At Its Best .",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -4229,9 +4229,7 @@ export class Canvas {
4229
4229
  continue;
4230
4230
  }
4231
4231
  // if (pen.template) {
4232
- if (pen.canvasLayer === CanvasLayer.CanvasTemplate
4233
- || pen.canvasLayer === CanvasLayer.CanvasImageBottom
4234
- || pen.canvasLayer === CanvasLayer.CanvasImage) {
4232
+ if (pen.canvasLayer === CanvasLayer.CanvasTemplate) {
4235
4233
  continue;
4236
4234
  }
4237
4235
  // if (pen.name === 'combine' && !pen.draw){
@@ -8012,6 +8010,7 @@ export class Canvas {
8012
8010
  if (this.magnifierCanvas.magnifier) {
8013
8011
  this.externalElements.style.cursor = 'default';
8014
8012
  }
8013
+ this.magnifierCanvas.render();
8015
8014
  this.render();
8016
8015
  }
8017
8016
  destroy() {