Drift

Drift

33.5k Downloads

SetPoint error with mouse tool tip addon

devwrk opened this issue ยท 1 comments

commented

I have this mouse tool tip addon with a single line
If I activate both addons and choose the "Buttons" option I get the setpoint error

Thanks

mouse tool tip addon
hooksecurefunc("GameTooltip_SetDefaultAnchor", function(self, parent) self:SetOwner(parent, "ANCHOR_CURSOR") end)

image

Date: 2023-01-29 12:00:03
ID: 1
Error occured in: Global
Count: 1
Message: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: HelpOpenWebTicketButton:SetPoint.
Debug:
[string "=[C]"]: ?
[string "=[C]"]: SetPoint()
[string "@Interface/FrameXML/MainMenuBarMicroButtons.lua"]:1369: UpdateHelpTicketButtonAnchor()
[string "@Interface/FrameXML/EditModeSystemTemplates.lua"]:1827: ApplySystemAnchor()
[string "@Interface/FrameXML/EditModeSystemTemplates.lua"]:270: UpdateSystem()
[string "@Interface/FrameXML/EditModeSystemTemplates.lua"]:1831: UpdateSystem()
[string "@Interface/FrameXML/EditModeManager.lua"]:1039: UpdateSystem()
[string "@Interface/FrameXML/EditModeManager.lua"]:1027:
Interface/FrameXML/EditModeManager.lua:1026
[string "=[C]"]: secureexecuterange()
[string "@Interface/FrameXML/EditModeManager.lua"]:1029: UpdateSystems()
[string "@Interface/FrameXML/EditModeManager.lua"]:899: UpdateLayoutInfo()
[string "@Interface/FrameXML/EditModeManager.lua"]:238:
Interface/FrameXML/EditModeManager.lua:235
Locals:
(*temporary) = HelpOpenWebTicketButton {
0 =
SetScale = defined =[C]:-1
DriftHookSet = true
SetPoint = defined =[C]:-1
refreshTime = 0
DriftModifiable = true
}
(*temporary) = "CENTER"
(*temporary) = CharacterMicroButton {
0 =
OnEnter = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:422
FlashBorder = Texture {
}
QuickKeybindButtonOnShow = defined @Interface/FrameXML/QuickKeybind.lua:4
QuickKeybindButtonOnEnter = defined @Interface/FrameXML/QuickKeybind.lua:22
DoModeChange = defined @Interface/FrameXML/QuickKeybind.lua:95
QuickKeybindButtonOnUpdate = defined @Interface/FrameXML/QuickKeybind.lua:75
tooltipText = "Character Info |cffffd100(C)|r"
QuickKeybindButtonOnLeave = defined @Interface/FrameXML/QuickKeybind.lua:33
OnMouseDown = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:450
QuickKeybindButtonSetTooltip = defined @Interface/FrameXML/QuickKeybind.lua:52
OnLoad = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:445
QuickKeybindHighlightTexture = Texture {
}
SetPushed = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:488
FlashContent = Texture {
}
OnEvent = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:482
layoutIndex = 1
SetNormal = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:492
commandName = "TOGGLECHARACTER0"
OnMouseUp = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:462
UpdateMouseWheelHandler = defined @Interface/FrameXML/QuickKeybind.lua:86
QuickKeybindButtonOnHide = defined @Interface/FrameXML/QuickKeybind.lua:11
QuickKeybindButtonOnMouseWheel = defined @Interface/FrameXML/QuickKeybind.lua:46
QuickKeybindButtonOnClick = defined @Interface/FrameXML/QuickKeybind.lua:16
}
(*temporary) = "CENTER"
(*temporary) = 0
(*temporary) = 25

AddOns:
Swatter, v<%version%> (<%codename%>)
Drift, v2.2.2
MouseTooltip, v1.0
BlizRuntimeLib_enUS v10.0.5.100005
(ck=7b)

commented

Fixed in v2.2.4.