skins: avoid ui taints of the spellbook skin

This commit is contained in:
shagu
2020-12-28 20:55:51 +01:00
parent 7a7ca5da82
commit dddaf75315
-10
View File
@@ -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)