mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
Detach old indicator from pager on attach new ones
eae0b2072cd61bedf145d13ef91690b865bd5d2b
This commit is contained in:
+1
-1
@@ -106,6 +106,6 @@ internal class ImageComparator(private val logger: Logger) {
|
||||
private fun BufferedImage.getRGBSafe(x: Int, y: Int) = if (y < height) getRGB(x, y) else 0
|
||||
|
||||
companion object {
|
||||
private const val THRESHOLD = 5e-5 // Scaled from 0 to 1
|
||||
private const val THRESHOLD = 1e-4 // Scaled from 0 to 1
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user