From dddaf7531578e6861a688f610657cfa71a9444a9 Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 28 Dec 2020 20:55:51 +0100 Subject: [PATCH] skins: avoid ui taints of the spellbook skin --- skins/blizzard/spellbook.lua | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/skins/blizzard/spellbook.lua b/skins/blizzard/spellbook.lua index 18da029b..e28383c3 100644 --- a/skins/blizzard/spellbook.lua +++ b/skins/blizzard/spellbook.lua @@ -56,16 +56,6 @@ pfUI:RegisterSkin("Spellbook", "vanilla:tbc", function () button:ClearAllPoints() button:SetPoint("TOP", lastbutton, "BOTTOM", 0, - (border + (border == 1 and 1 or 2) + bpad)) end - - function button.SetChecked(self, checked) - if checked then - self.locked = true - self:SetBackdropBorderColor(1,1,1) - else - self.locked = false - self:SetBackdropBorderColor(GetStringColor(pfUI_config.appearance.border.color)) - end - end end SkinArrowButton(SpellBookPrevPageButton, "left", 18)