Quantcast
diff --git a/DruidBar.lua b/DruidBar.lua
index 1d2e691..d7907ed 100644
--- a/DruidBar.lua
+++ b/DruidBar.lua
@@ -6,12 +6,27 @@ local timer = 0;
 local lowregentimer = 0;
 local fullmanatimer = 0;
 local DruidBar_Anchored = nil;
+-- local DruidBar_MinimapPos = {

+--   ["minimapPos"] = 90,

+--   ["hide"] = false,

+-- }

+

+-- local ldb = LibStub:GetLibrary("LibDataBroker-1.1")

+

+-- if not ldb:GetDataObjectByName("DruidBarMinimapIcon") then

+--   ldb:NewDataObject("DruidBarMinimapIcon", {

+--     type = "data source",

+--     text = "Druid Bar Classic",

+--     icon = "Interface\\Icons\\ABILITY_DRUID_DEMORALIZINGROAR",

+--     OnClick = function (self, button) if button == "LeftButton" then DRUIDBAROptionsFrame_Toggle(); end end

+--   });

+-- end

 
 local minimapIconLDB = LibStub("LibDataBroker-1.1"):NewDataObject("DruidBarMinimapIcon", {
-	type = "data source",
-	text = "Druid Bar Classic",
-	icon = "Interface\\Icons\\ABILITY_DRUID_DEMORALIZINGROAR",
-	OnClick = function (self, button) if button == "LeftButton" then DRUIDBAROptionsFrame_Toggle(); end end
+       type = "data source",

+       text = "Druid Bar Classic",

+       icon = "Interface\\Icons\\ABILITY_DRUID_DEMORALIZINGROAR",

+       OnClick = function (self, button) if button == "LeftButton" then DRUIDBAROptionsFrame_Toggle(); end end

 });
 
 local DruidBar_MinimapButton = LibStub("LibDBIcon-1.0");
@@ -31,7 +46,7 @@ function DruidBar_OnLoad()
 		DBarSpellCatch:SetOwner(DruidBarUpdateFrame, "ANCHOR_NONE");
 
 	    -- Creating the minimap config icon
-		DruidBar_MinimapButton:Register("DruidBarMinimapIcon", minimapIconLDB, DruidBarKey);
+		DruidBar_MinimapButton:Register("DruidBarMinimapIcon", ldb, DruidBar_MinimapPos);

 	end
 end
 function EventRegistration(event)