@pixerate/editor-svelte 0.30.0 → 0.30.1

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.
@@ -181,7 +181,7 @@
181
181
  <path d={overlay.penPreview} stroke={accentColor} stroke-dasharray="4 3" />
182
182
  {/if}
183
183
  {#if box}
184
- <g data-vector-selection="">
184
+ <g data-vector-selection="" transform={box.transform || undefined}>
185
185
  <rect x={box.x} y={box.y} width={box.width} height={box.height} stroke={accentColor} />
186
186
  <line x1={box.x + box.width / 2} y1={box.y} x2={box.x + box.width / 2} y2={box.y - 24} stroke={accentColor} />
187
187
  {#each box.handles as h (h.handle)}
@@ -11,12 +11,13 @@
11
11
 
12
12
  {#each nodes as node (node.id)}
13
13
  {#if node.kind === 'group'}
14
- <g data-vector-id={node.id} opacity={node.opacity < 1 ? node.opacity : undefined}>
14
+ <g data-vector-id={node.id} transform={node.transform} opacity={node.opacity < 1 ? node.opacity : undefined}>
15
15
  <Self nodes={node.children} />
16
16
  </g>
17
17
  {:else}
18
18
  <path
19
19
  data-vector-id={node.id}
20
+ transform={node.transform}
20
21
  d={node.d}
21
22
  fill={node.fill}
22
23
  fill-rule={node.fillRule}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixerate/editor-svelte",
3
- "version": "0.30.0",
3
+ "version": "0.30.1",
4
4
  "description": "Svelte bindings and prompt/rich-text components for @pixerate/editor",
5
5
  "author": "Pixerate",
6
6
  "license": "MIT",
@@ -107,7 +107,7 @@
107
107
  "@tiptap/extension-bubble-menu": "^2.11.5",
108
108
  "@tiptap/extension-placeholder": "^2.11.5",
109
109
  "@tiptap/starter-kit": "^2.11.5",
110
- "@pixerate/editor": "0.32.0"
110
+ "@pixerate/editor": "0.33.0"
111
111
  },
112
112
  "peerDependencies": {
113
113
  "@dagrejs/dagre": "^1.1.4",