panel: combine similar ui code into functions

also add new panel options for Hearth, Thistle Tea and Flash Powder.
This commit is contained in:
jmgibson1981
2025-02-14 22:54:04 +01:00
committed by GitHub
parent 9514a535d7
commit 1933219712
2 changed files with 110 additions and 146 deletions
+3
View File
@@ -1069,6 +1069,9 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
"combat:" .. T["Combat Timer"],
"ammo:" .. T["Ammo Counter"],
"soulshard:" .. T["Soulshard Counter"],
"bindlocation:" .. T["Hearth"],
"thistletea:" .. T["Thistle Tea"],
"flashpowder:" .. T["Flash Powder"],
"bagspace:" .. T["Bagspace"]
},
["tooltip_position"] = {