@pixerate/editor-svelte 0.144.0 → 0.145.0
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.
|
@@ -249,6 +249,19 @@
|
|
|
249
249
|
</label>
|
|
250
250
|
</div>
|
|
251
251
|
{/if}
|
|
252
|
+
{#if options.tool === 'object'}
|
|
253
|
+
<div data-testid="object-selection-options" class="flex flex-col gap-2">
|
|
254
|
+
<p class="text-muted-foreground">Drag a box loosely around an object, or click on it. Shift adds, Alt subtracts.</p>
|
|
255
|
+
<label class="flex items-center gap-2 text-foreground">
|
|
256
|
+
<ImageCheckbox label="Object sample all layers" checked={options.objectSampleAll ?? true} onchange={(on) => set({ objectSampleAll: on })} />
|
|
257
|
+
Sample all layers
|
|
258
|
+
</label>
|
|
259
|
+
<label class="flex items-center gap-2 text-foreground">
|
|
260
|
+
<ImageCheckbox label="Object auto-enhance edges" checked={options.objectEnhance ?? false} onchange={(on) => set({ objectEnhance: on })} />
|
|
261
|
+
Auto-enhance edges
|
|
262
|
+
</label>
|
|
263
|
+
</div>
|
|
264
|
+
{/if}
|
|
252
265
|
{#if options.tool === 'type' || options.tool === 'type-vertical'}
|
|
253
266
|
<div data-testid="type-mask-options" class="flex flex-col gap-2">
|
|
254
267
|
<p class="text-muted-foreground">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixerate/editor-svelte",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.145.0",
|
|
4
4
|
"description": "Svelte bindings and prompt/rich-text components for @pixerate/editor",
|
|
5
5
|
"author": "Pixerate",
|
|
6
6
|
"license": "MIT",
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
"**/*.css"
|
|
166
166
|
],
|
|
167
167
|
"dependencies": {
|
|
168
|
-
"@pixerate/editor": "0.
|
|
168
|
+
"@pixerate/editor": "0.198.0"
|
|
169
169
|
},
|
|
170
170
|
"peerDependencies": {
|
|
171
171
|
"@dagrejs/dagre": "^1.1.4",
|