adamz01h / wow_peggle

WoW Peggle Addon
50 stars 14 forks source link

Update Peggle.lua #25

Closed PB-git-loading closed 4 years ago

PB-git-loading commented 4 years ago

Create Frame no longer works the way it used to. It needs to inherit the Background template. Went through and changed all of the Frames that were throwing errors from :SetBackdrop. Example of what was changed:

before: i = CreateFrame("Frame", "", a); after: i = CreateFrame("Frame", "", a, BackdropTemplateMixin and "BackdropTemplate");

After doing this, the addon seems to work again.