Skip to content

Commit 21ff5df

Browse files
committed
Removed canvas min/max clamping - allow presets to set any resolution
1 parent dea7dce commit 21ff5df

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

js/ResolutionMaster.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1983,10 +1983,8 @@ class ResolutionMasterCanvas {
19831983
({ width, height } = this.applyCustomCalculation(width, height, props.selectedCategory));
19841984
}
19851985

1986-
const newWidth = Math.max(props.canvas_min_x, Math.min(props.canvas_max_x, width));
1987-
const newHeight = Math.max(props.canvas_min_y, Math.min(props.canvas_max_y, height));
1988-
1989-
this.setDimensions(newWidth, newHeight);
1986+
// Removed canvas min/max clamping - allow presets to set any resolution
1987+
this.setDimensions(width, height);
19901988
}
19911989

19921990
applyPreset(category, presetName) {

0 commit comments

Comments
 (0)