addonbuttons: add option to show them on login

* use a simpler update throttle
* remove usable due to resets during moving
* remove unused update interval config
This commit is contained in:
shagu
2019-03-31 14:59:20 +02:00
parent 0232c2600e
commit a32732a1dd
3 changed files with 14 additions and 15 deletions
+1
View File
@@ -1184,6 +1184,7 @@ pfUI:RegisterModule("gui", function ()
pfUI.gui.tabs.minimap.tabs.addonbuttons:SetScript("OnShow", function()
if not this.setup then
CreateConfig(update["addonbuttons"], this, T["Addon Buttons Panel Position"], C.abuttons, "position", "dropdown", pfUI.gui.dropdowns.addonbuttons_position)
CreateConfig(update["addonbuttons"], this, T["Show Addon Buttons On Login"], C.abuttons, "showdefault", "checkbox")
CreateConfig(update["addonbuttons"], this, T["Number Of Buttons Per Row/Column"], C.abuttons, "rowsize")
CreateConfig(update["addonbuttons"], this, T["Button Spacing"], C.abuttons, "spacing")
CreateConfig(update["addonbuttons"], this, T["Hide When Entering Combat"], C.abuttons, "hideincombat", "checkbox")