design breiter
This commit is contained in:
@@ -284,17 +284,14 @@
|
||||
return;
|
||||
}
|
||||
|
||||
if (meta.heightHe !== 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
const preset = FORM_FACTOR_PRESETS[meta.formFactor];
|
||||
if (!preset) {
|
||||
return;
|
||||
}
|
||||
|
||||
meta.canvasWidth = Math.max(MIN_CANVAS_WIDTH, preset.width);
|
||||
meta.canvasHeight = Math.max(MIN_CANVAS_HEIGHT, preset.height);
|
||||
const targetHeight = Math.round(preset.height * Math.max(1, meta.heightHe));
|
||||
meta.canvasHeight = Math.max(MIN_CANVAS_HEIGHT, targetHeight);
|
||||
}
|
||||
|
||||
function applyOverlayToSelectedShape() {
|
||||
|
||||
Reference in New Issue
Block a user