mirror of
https://github.com/brues-code/SuperCleveRoidMacros.git
synced 2026-09-16 03:38:00 +00:00
Remove dead AuraScanTooltip frame
The AuraScanTooltip scanning frame was only used by CancelAura's legacy tooltip path, which was removed when CancelAura moved to ClassicAPI's C_Spell.CancelSpellByID. Nothing references it now.
This commit is contained in:
@@ -5018,17 +5018,6 @@ if not CleveRoids.RunMacroHooked then
|
||||
CleveRoids.RunMacroHooked = true
|
||||
end
|
||||
|
||||
-- Create a hidden tooltip frame to read buff names
|
||||
if not AuraScanTooltip and not CleveRoids.hasSuperwow then
|
||||
CreateFrame("GameTooltip", "AuraScanTooltip")
|
||||
AuraScanTooltip:SetOwner(WorldFrame, "ANCHOR_NONE")
|
||||
AuraScanTooltip:EnableMouse(false)
|
||||
AuraScanTooltip:AddFontStrings(
|
||||
AuraScanTooltip:CreateFontString("$parentTextLeft1", nil, "GameTooltipText"),
|
||||
AuraScanTooltip:CreateFontString("$parentTextRight1", nil, "GameTooltipText")
|
||||
)
|
||||
end
|
||||
|
||||
-- Robust named tooltip for scanning spells/items
|
||||
if not CleveRoidsTooltipScan then
|
||||
-- Try to create with the standard template first
|
||||
|
||||
Reference in New Issue
Block a user