Skip to content

Commit 3b3ca02

Browse files
committed
Fix for maximumSize restriction when resize starts at maximumSize
1 parent 0c1d58d commit 3b3ca02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core-resizing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export function createResize(store: ISpaceStore) {
4545
if (adjustment < minimumAdjust) {
4646
adjustment = minimumAdjust;
4747
} else {
48-
if (maximumAdjust) {
48+
if (typeof maximumAdjust === "number") {
4949
if (adjustment > maximumAdjust) {
5050
adjustment = maximumAdjust;
5151
}

0 commit comments

Comments
 (0)