silence xcode 8.3 warning
This commit is contained in:
parent
6eb6f3bf5d
commit
ce5d0a4414
|
@ -24,7 +24,7 @@ func CGImageFrameDuration(with imageSource: CGImageSource, atIndex index: Int) -
|
|||
/// - returns: A capped frame duration.
|
||||
func capDuration(with duration: Double) -> Double? {
|
||||
if duration < 0 { return .none }
|
||||
let threshold = 0.02 - Double(FLT_EPSILON)
|
||||
let threshold = 0.02 - Double.ulpOfOne
|
||||
let cappedDuration = duration < threshold ? 0.1 : duration
|
||||
return cappedDuration
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>125</string>
|
||||
<string>126</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
|
|
Loading…
Reference in New Issue