Skip to content

Commit 17769e4

Browse files
committed
Removed IsPosHoveringAnyWindow() which was severaly broken and misleading (most people want to use io.WantCaptureMouse). Added dummy function with assert for now.
ocornut/imgui@25f3717
1 parent c8ee60d commit 17769e4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/kotlin/imgui/imgui/utilities.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@ interface imgui_utilities {
7878
/** test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. */
7979
fun isRectVisible(rectMin: Vec2, rectMax: Vec2) = currentWindowRead!!.clipRect.overlaps(Rect(rectMin, rectMax))
8080

81-
/** is given position hovering any active imgui window */
82-
fun isPosHoveringAnyWindow(pos: Vec2) = findHoveredWindow(pos, false) != null
83-
8481
val time get() = g.time
8582

8683
val frameCount get() = g.frameCount

0 commit comments

Comments
 (0)