Skip to content

Commit

Permalink
Switch precision back to 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanceriu committed Mar 11, 2024
1 parent 9e9a4e7 commit b9584b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/CompoundTests/PreviewTests.stencil
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ private extension Snapshotting where Value: SwiftUI.View, Format == UIImage {

private extension Diffing where Value == UIImage {
static func prefireImage(precision: @escaping () -> Float, perceptualPrecision: @escaping () -> Float, scale: CGFloat?) -> Diffing {
lazy var originalDiffing = Diffing.image(precision: precision(), perceptualPrecision: 0.98, scale: scale)
lazy var originalDiffing = Diffing.image(precision: precision(), perceptualPrecision: perceptualPrecision(), scale: scale)
return Diffing(
toData: { originalDiffing.toData($0) },
fromData: { originalDiffing.fromData($0) },
Expand Down

0 comments on commit b9584b3

Please sign in to comment.