mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 16:10:36 +00:00
Add a MouseIsOver(region, top, bottom, left, right) global that forwards to the native Region:IsMouseOver method (mirrors modern FrameXML's forwarding; nil offsets default to 0 in the C method). Drop DebugTools' hand-rolled DebugTools_IsMouseOver helper in favor of the native method. This also fixes _CollectFramesUnderMouse's showHidden path: the old helper baked a visibility check into the geometric test, so a hidden-but-hovered frame could never surface; the native method is purely geometric and visibility is already gated separately at the call site.