mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 16:10:36 +00:00
The embedded addon replaces FrameXML's MouseIsOver with a wrapper over the native region:IsMouseOver(), which returns a boolean. Stock 1.12's MouseIsOver (UIParent.lua:1718) returns 1 on hit and nil otherwise, and vanilla-era addons compare against that literal - Quiver gates every widget click on `MouseIsOver(f) == 1`, which `true` silently fails, deadening its entire config dialog (buttons, checkboxes, icon clicks). Return 1/nil from the wrapper. 1 is truthy, so modern-style `if MouseIsOver(f) then` callers are unaffected.
6 lines
178 B
Lua
6 lines
178 B
Lua
function MouseIsOver(region, topOffset, bottomOffset, leftOffset, rightOffset)
|
|
if region:IsMouseOver(topOffset, bottomOffset, leftOffset, rightOffset) then
|
|
return 1;
|
|
end
|
|
end
|