[jupyter] PY-87558 Jupyter: Output from PyMC blinks

GitOrigin-RevId: ae756c26e23bd753ea654f910320cf25db7b4a17
This commit is contained in:
Nikita.Ashihmin
2026-02-12 20:05:05 +04:00
committed by intellij-monorepo-bot
parent f77d25d9e5
commit e832b421e6

View File

@@ -23,6 +23,7 @@ object NotebookUiUtils {
}
fun Rectangle.intersectsEvenIfEmpty(other: Rectangle): Boolean {
return this.intersects(other) || (this.isEmpty && other.contains(this)) || (other.isEmpty && this.contains(other))
return this.intersects(other) || (this.isEmpty && other.contains(Point(x, y))) || (other.isEmpty && this.contains(Point(other.x,
other.y)))
}
}