Skip to content

Commit

Permalink
Fix minHeight, minWidth
Browse files Browse the repository at this point in the history
  • Loading branch information
muukii committed Nov 18, 2019
1 parent dcbdd78 commit 7d57d9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TextureSwiftSupport/MethodChain.swift
Expand Up @@ -231,10 +231,10 @@ public struct MinSizeModifier: ModifierType {

public func modify(element: ASLayoutElement) -> ASLayoutElement {
minWidth.map {
element.style.width = $0
element.style.minWidth = $0
}
minHeight.map {
element.style.height = $0
element.style.minHeight = $0
}
return element
}
Expand Down

0 comments on commit 7d57d9b

Please sign in to comment.