Fix crash showing tooltip when mouse was on the edge between two tabs
This commit is contained in:
parent
32d87fbd9d
commit
219033476c
|
@ -35,7 +35,7 @@ data class Rect(val left: Double, val top: Double, val width: Double, val height
|
|||
}
|
||||
|
||||
operator fun contains(point: Point): Boolean {
|
||||
return point.x in left..right && point.y in top..bottom
|
||||
return point.x >= left && point.x < right && point.y >= top && point.y < bottom
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue