Quantcast
WoWInterface - View Single Post - SetBackdropBorderColor removed in 9.0?
View Single Post
08-02-20, 10:08 AM   #16
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,424
Test and add a backdrop frame in the OnLoad script:

This adds an extra frame for the backdrop rather than just inheriting the template.
Code:
<Frame>
  <Scripts>
    <OnLoad>
    	if BackdropTemplateMixin then
		self.background = CreateFrame("Frame", nil, self, "BackdropTemplate")
		self.background:SetAllPoints()
		self.background:SetBackdrop({ ... })
      		self.background:SetFrameLevel(self:GetFrameLevel())
      	end
    </OnLoad>
  </Scripts>
</Frame>
Blizzard are not concerned with making addons compatible between Classic and Retail. Addon authors have to decide how far they are willing to go if that's what they want to do.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 08-02-20 at 10:16 AM.
  Reply With Quote