pixelperfect: run only once during startup

This commit is contained in:
shagu
2023-06-24 15:52:27 +02:00
parent 7f9348868b
commit 41acda2c02
+3 -6
View File
@@ -36,10 +36,7 @@ pfUI:RegisterModule("pixelperfect", "vanilla:tbc", function ()
pixelperfect()
end
pfUI.pixelperfect = {}
function pfUI.pixelperfect:UpdateConfig()
pixelperfect()
end
pfUI.pixelperfect:UpdateConfig()
pfUI.pixelperfect = {
UpdateConfig = pixelperfect
}
end)