fix: some NaNs that can be caused by scroll bars

This commit is contained in:
minjaesong
2025-02-01 20:51:40 +09:00
parent a2006b0354
commit 69ebdbc542
13 changed files with 19 additions and 18 deletions

View File

@@ -136,9 +136,5 @@ class Comp(
this.ratio = other.ratio
}
}
private fun Double.unNaN(d: Double): Double {
return if (this.isNaN()) d else this
}
}