@meta2d/core 1.0.74 → 1.0.75

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.74",
3
+ "version": "1.0.75",
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",
@@ -733,7 +733,7 @@ export class Canvas {
733
733
  case 'G':
734
734
  //组合/解组
735
735
  if (e.ctrlKey || e.metaKey) {
736
- if (e.altKey) {
736
+ if (e.shiftKey) {
737
737
  this.parent.uncombine();
738
738
  }
739
739
  else {
@@ -4105,7 +4105,9 @@ export class Canvas {
4105
4105
  this.renderBorder();
4106
4106
  this.renderHoverPoint();
4107
4107
  offscreenCtx.restore();
4108
- this.magnifierCanvas.render();
4108
+ if (this.magnifierCanvas.magnifier) {
4109
+ this.magnifierCanvas.render();
4110
+ }
4109
4111
  const ctx = this.canvas.getContext('2d');
4110
4112
  ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);
4111
4113
  ctx.drawImage(this.offscreen, 0, 0, this.width, this.height);