Skip to content

Commit 57e25ec

Browse files
committed
Use PEdgeInsets instead of UIEdgeInsets
1 parent e959028 commit 57e25ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Impl/PinLayout+Layouting.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ extension PinLayout {
135135
}
136136

137137
if Pin.autoSizingInProgress, let autoSizeCalculable = view as? AutoSizeCalculable {
138-
let marginInsets = UIEdgeInsets(top: -_marginTop, left: -_marginLeft, bottom: -_marginBottom, right: -_marginRight)
138+
let marginInsets = PEdgeInsets(top: -_marginTop, left: -_marginLeft, bottom: -_marginBottom, right: -_marginRight)
139139
autoSizeCalculable.setAutoSizingRect(newRect, margins: marginInsets)
140140
}
141141

0 commit comments

Comments
 (0)