Hi there! I'm a little baffled by the following line working on Classic, BCc and Restila (up to 90100), but throwing an exception in Retail 90105:
Lua Code:
backdrop = GameTooltip:GetBackdrop();
I get the following exception:
Code:
Interface\AddOns\LunarSphere\lib\moduleButton.lua:223: attempt to call method 'GetBackdrop' (a nil value)
I've searched the
GametoolTip API ref and it doesn't seem to have a GetBackdrop method, nor a notice that it has been deprecated.
I've tried using this:
Lua Code:
if not GameTooltip:GetBackdrop then
Mixin(tooltip, BackdropTemplateMixin)
end
But then I get an error:
Code:
function arguments expected near 'then'
I'm not the original author of the addon, so I'm not sure what was their intention calling
Code:
GameTooltip:GetBackdrop()
and not over some object (something like
Code:
my_widget:GetBackdrop()
)
Thanks!!