3dca925 - Fix up libraries
[wowui.git] / Core.lua
index ad8d6b3..cb4134f 100644 (file)
--- a/Core.lua
+++ b/Core.lua
@@ -18,13 +18,14 @@ local defaults = {
         indicators = {
             ['**'] = {
                 textSize = 10,
         indicators = {
             ['**'] = {
                 textSize = 10,
-                color = {1, 1, 1, 1},
+                textColor = {1, 1, 1, 1},
                 mine = false,
                 stack = true,
                 showText = true,
                 showIcon = true,
                 useDefaultIcon = true,
                 iconSize = 10,
                 mine = false,
                 stack = true,
                 showText = true,
                 showIcon = true,
                 useDefaultIcon = true,
                 iconSize = 10,
+                iconColor = {1, 1, 1, 1},
             },
         },
     }
             },
         },
     }
@@ -32,10 +33,10 @@ local defaults = {
 
 function RaidFrameCustomization:OnInitialize()
     self.db = LibStub("AceDB-3.0"):New("RaidFrameCustomizationDB", defaults);
 
 function RaidFrameCustomization:OnInitialize()
     self.db = LibStub("AceDB-3.0"):New("RaidFrameCustomizationDB", defaults);
-    self:SetupOptions();
     self.db.RegisterCallback(self, "OnProfileChanged", "RefreshConfig");
     self.db.RegisterCallback(self, "OnProfileCopied", "RefreshConfig");
     self.db.RegisterCallback(self, "OnProfileReset", "RefreshConfig");
     self.db.RegisterCallback(self, "OnProfileChanged", "RefreshConfig");
     self.db.RegisterCallback(self, "OnProfileCopied", "RefreshConfig");
     self.db.RegisterCallback(self, "OnProfileReset", "RefreshConfig");
+    self:SetupOptions();
 end
 
 function RaidFrameCustomization:OnEnable()
 end
 
 function RaidFrameCustomization:OnEnable()