zydx-plus 1.33.391 → 1.33.392

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": "zydx-plus",
3
- "version": "1.33.391",
3
+ "version": "1.33.392",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -466,7 +466,7 @@ export default {
466
466
  opacity: 0;
467
467
  }
468
468
  .drag-pop-shadow{
469
- box-shadow: 0 0 3px 2px #ccc;
469
+ box-shadow: 0 0 3px 2px rgba(0,0,0,0.3);
470
470
  }
471
471
  .trans{
472
472
  transition: all .3s;
@@ -67,7 +67,7 @@ const clearJson = {
67
67
  }
68
68
  }
69
69
 
70
- const editorAPP = null;
70
+ let editorAPP = null;
71
71
 
72
72
  export default {
73
73
  name: "zydx-sketchpad",
@@ -324,10 +324,14 @@ export default {
324
324
  }])
325
325
  const imageId = createShapeId()
326
326
  editorAPP.createShape({
327
+ id: imageId,
327
328
  type: 'image',
328
329
  x: 200,
329
330
  y: 200,
331
+ isLocked: false,
330
332
  props: {
333
+ w: img.width,
334
+ h: img.height,
331
335
  assetId
332
336
  },
333
337
  })
package/src/index.js CHANGED
@@ -83,7 +83,7 @@ function install(app) {
83
83
  }
84
84
 
85
85
  export default {
86
- version: '1.33.391',
86
+ version: '1.33.392',
87
87
  install,
88
88
  Calendar,
89
89
  Message,