Skip to content

Commit 3b7157a

Browse files
authored
Merge pull request #92 from aeagle/hotfix/#86-maximum-size-fix
Fix for maximumSize restriction when resize starts at maximumSize
2 parents 0c1d58d + 3b3ca02 commit 3b7157a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core-resizing.ts

+1-1
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)