🐛 fixing 0 deserialization

This commit is contained in:
2022-11-02 14:56:56 +01:00
parent 3d11b6e294
commit 3d200ef419
2 changed files with 14 additions and 13 deletions

View File

@@ -9,6 +9,18 @@ import {
const inputs = {
image: null,
width: {
type: 'Number',
default: 100,
step: 1,
min: 1
} as NumberVar,
height: {
type: 'Number',
default: 100,
step: 1,
min: 1,
} as NumberVar,
fg: {
type: 'Image'
} as ImageVar,
@@ -35,18 +47,6 @@ const inputs = {
default: 0,
step: 1,
} as NumberVar,
width: {
type: 'Number',
default: 100,
step: 1,
min: 1
} as NumberVar,
height: {
type: 'Number',
default: 100,
step: 1,
min: 1,
} as NumberVar,
mode: {
type: 'String',
default: 'source-over',