Skip to content
Snippets Groups Projects
Commit 862eda6d authored by Alexander Rose's avatar Alexander Rose
Browse files

better min size limit in image ui

parent 4a7f0fc2
No related branches found
No related tags found
No related merge requests found
...@@ -156,8 +156,8 @@ export class ImageControls<P, S extends ImageControlsState> extends CollapsableC ...@@ -156,8 +156,8 @@ export class ImageControls<P, S extends ImageControlsState> extends CollapsableC
size: PD.MappedStatic('custom', { size: PD.MappedStatic('custom', {
canvas: PD.Group({}), canvas: PD.Group({}),
custom: PD.Group({ custom: PD.Group({
width: PD.Numeric(width, { min: 1, max, step: 1 }), width: PD.Numeric(width, { min: 128, max, step: 1 }),
height: PD.Numeric(height, { min: 1, max, step: 1 }), height: PD.Numeric(height, { min: 128, max, step: 1 }),
}, { isFlat: true }) }, { isFlat: true })
}, { options: [['canvas', 'Canvas'], ['custom', 'Custom']] }) }, { options: [['canvas', 'Canvas'], ['custom', 'Custom']] })
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment