Skip to content

Commit 255e03d

Browse files
committed
Fix dimension multiplier bug
1 parent 4088b62 commit 255e03d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/LayoutAid/Height.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ public struct Height: DimensionConstraintsGenerator {
3434
self.relation = relation
3535
self.constant = constant
3636
self.secondAnchor = secondAnchor
37-
self.multiplier = 1
37+
self.multiplier = multiplier
3838
}
3939
}

Sources/LayoutAid/Width.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ public struct Width: DimensionConstraintsGenerator {
3434
self.relation = relation
3535
self.constant = constant
3636
self.secondAnchor = secondAnchor
37-
self.multiplier = 1
37+
self.multiplier = multiplier
3838
}
3939
}

0 commit comments

Comments
 (0)