We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0c1d58d + 3b3ca02 commit 3b7157aCopy full SHA for 3b7157a
src/core-resizing.ts
@@ -45,7 +45,7 @@ export function createResize(store: ISpaceStore) {
45
if (adjustment < minimumAdjust) {
46
adjustment = minimumAdjust;
47
} else {
48
- if (maximumAdjust) {
+ if (typeof maximumAdjust === "number") {
49
if (adjustment > maximumAdjust) {
50
adjustment = maximumAdjust;
51
}
0 commit comments