You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make image diffing strategies custom scale aware (pointfreeco#336)
* Add scale parameter to image diffing strategies
* Use updated diffing in CALayer, UIView, UIViewController and SwiftUIView strategies
* Pass scale through to CGPath and UIBezierPath strategies
* Re-generate project file
/// A pixel-diffing strategy for UIImage that allows customizing how precise the matching must be.
10
10
///
11
11
/// - Parameter precision: A value between 0 and 1, where 1 means the images must match 100% of their pixels.
12
+
/// - Parameter scale: Scale to use when loading the reference image from disk. If `nil` or the `UITraitCollection`s default value of `0.0`, the screens scale is used.
0 commit comments