Detach old indicator from pager on attach new ones

eae0b2072cd61bedf145d13ef91690b865bd5d2b
This commit is contained in:
edubinskaya
2024-06-13 21:07:13 +03:00
parent af860a449d
commit 66ef4d49a8
4 changed files with 36 additions and 17 deletions
@@ -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
}
}