fix stopmacro and fix mouseover in other addons

This commit is contained in:
Jrc13245
2026-01-15 11:48:01 -05:00
parent 167fd8e079
commit c230b1decb
7 changed files with 255 additions and 17 deletions
+10
View File
@@ -19,7 +19,17 @@ end
-- Native UPDATE_MOUSEOVER_UNIT handler (priority 2)
-- This works even when tooltips are hidden by other addons
-- NOTE: We skip when selfTriggered is set to prevent TRP tooltip conflicts.
-- When we call SetMouseoverUnit ourselves, it triggers UPDATE_MOUSEOVER_UNIT,
-- which would add a redundant "native" source that persists after the real
-- source (pfUI, etc.) clears - causing TRP to show stale profile info.
function Extension.UPDATE_MOUSEOVER_UNIT()
-- Skip if we ourselves triggered this event by calling SetMouseoverUnit
if CleveRoids.__mo and CleveRoids.__mo.selfTriggered then
CleveRoids.__mo.selfTriggered = false
return
end
if UnitExists("mouseover") then
CleveRoids.SetMouseoverFrom("native", "mouseover")
else