Thread Tools Display Modes
Prev Previous Post   Next Post Next
11-18-22, 08:31 AM   #1
Dave B
A Defias Bandit
Join Date: Jul 2018
Posts: 3
LUA Halp with code removed in 9.x.x

Hi,

I'm having some trouble tracking down what code was changed to to try and fix an addon, the removed code was from this subset

Frame:GetBackdrop
Frame:GetBackdropBorderColor
Frame:GetBackdropColor
Frame:SetBackdrop
Frame:SetBackdropBorderColor
Frame:SetBackdropColor

The code in the addon (YSSDROP, for reference) is

frame:SetBackdrop(GameTooltip:GetBackdrop())
frame:SetBackdropBorderColor(GameTooltip:GetBackdropBorderColor())
frame:SetBackdropColor(GameTooltip:GetBackdropColor())
frame:SetScale(GameTooltip:GetScale())

my question is: what do I need to change it to to get it working? I've tried the option of NineSlice and that didn't help, there's scant information on what the set/getbackdrop code was changed to, any experts that can shed some light?

TYIA
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » LUA Halp with code removed in 9.x.x


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off