Use ClassicAPI's nop for empty functions

This commit is contained in:
Brues
2026-10-30 12:20:37 -05:00
parent 436c6d6dd4
commit b0f9b7b993
6 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ pfUI:RegisterSkin("Options - Interface", function ()
SkinCollapseButton(toggle)
toggle:SetPushedTexture("")
toggle:SetHighlightTexture("")
toggle.SetPushedTexture = function() end
toggle.SetPushedTexture = nop
end
-- ClassicAPI's own pages (Options\Panel.lua) number their controls