We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8eaa3a1 + a60afbe commit babea9cCopy full SHA for babea9c
Sources/Impl/Coordinates.swift
@@ -109,7 +109,7 @@ final class Coordinates<PinView: Layoutable> {
109
private func getDisplayScale() -> CGFloat {
110
#if os(iOS) || os(tvOS)
111
if #available(iOS 13.0, tvOS 13.0, *) {
112
- return UITraitCollection.current.displayScale
+ return max(UITraitCollection.current.displayScale, 1)
113
} else {
114
return UIScreen.main.scale
115
}
0 commit comments