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.
|
/// - returns: A capped frame duration.
|
||||||
func capDuration(with duration: Double) -> Double? {
|
func capDuration(with duration: Double) -> Double? {
|
||||||
if duration < 0 { return .none }
|
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
|
let cappedDuration = duration < threshold ? 0.1 : duration
|
||||||
return cappedDuration
|
return cappedDuration
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>125</string>
|
<string>126</string>
|
||||||
<key>NSPrincipalClass</key>
|
<key>NSPrincipalClass</key>
|
||||||
<string></string>
|
<string></string>
|
||||||
</dict>
|
</dict>
|
||||||
|
|
Loading…
Reference in New Issue