From fded56ad2a320576858c7871e549e4cf15198fbe Mon Sep 17 00:00:00 2001 From: Tek Hudson Date: Sat, 10 Aug 2019 01:48:19 -0700 Subject: [PATCH] Update README for 0.3 --- README.md | 4 +++- t | 44 -------------------------------------------- 2 files changed, 3 insertions(+), 45 deletions(-) delete mode 100644 t diff --git a/README.md b/README.md index 8bff6b3..0c92ef5 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Druid Bar Classic, v0.01 +# Druid Bar Classic Druid Bar is a movable mana bar that keeps track of your current mana, even in a shapeshifted form like bear or cat. remember that this addon is an estimation of your mana, and it could be slightly higher or lower depending on your level(Lower levels will have more problems since there is much less room for error with their smaller mana pools). @@ -70,6 +70,8 @@ Discord: https://discord.gg/b5sPQnu Prepair for classic release. Update TOC to work with launcher version listed. Get drag working. +Fix text position. +All primary settings in Bar Options category appear to be working. #### 0.2 Remove KMG suport. diff --git a/t b/t deleted file mode 100644 index c60b135..0000000 --- a/t +++ /dev/null @@ -1,44 +0,0 @@ -diff --git a/DruidBar.lua b/DruidBar.lua -index 0273090..1407649 100644 ---- a/DruidBar.lua -+++ b/DruidBar.lua -@@ -5,7 +5,7 @@ function DruidBar_OnLoad() - DruidBarUpdateFrame:RegisterEvent("UNIT_AURA"); - DruidBarUpdateFrame:RegisterEvent("UNIT_MAXPOWER"); - DruidBarUpdateFrame:RegisterEvent("COMBAT_LOG_EVENT"); -- DruidBarUpdateFrame:RegisterEvent("ADDON_LOADED"); -+ DruidBarUpdateFrame:RegisterEvent("VARIABLES_LOADED");  - DruidBarUpdateFrame:RegisterEvent("UNIT_POWER_UPDATE"); - DruidBarUpdateFrame:RegisterEvent("INSTANCE_BOOT_STOP"); - DruidBarUpdateFrame:RegisterEvent("INSTANCE_BOOT_START"); -@@ -53,7 +53,7 @@ function DruidBar_OnEvent(self, event,...) - return; - end -  -- if event == "ADDON_LOADED" then -+ if event == "VARIABLES_LOADED" then  - Load_Variables(className); - elseif className and className == "DRUID" and DruidBarKey.Enabled then - -- Show DruidBarUpdateFrame if hidden -diff --git a/Options.lua b/Options.lua -index 1655d32..09bbb6e 100644 ---- a/Options.lua -+++ b/Options.lua -@@ -13,7 +13,7 @@ end -  - function DRUIDBAROptions_CheckWidth(self) - if ( DRUIDBAROptionsWidthEditBox:GetText() < "1" ) then -- DRUIDBAROptionsWidthEditBox:SetText("1"); -+ DRUIDBAROptionsWidthEditBox:SetText("150");  - DruidBarKey.xvar = self:GetNumber(); - DruidBarKey.tempW = DruidBarKey.xvar; - elseif( DRUIDBAROptionsWidthEditBox:GetText() > "9999" ) then -@@ -28,7 +28,7 @@ end -  - function DRUIDBAROptions_CheckHeight(self) - if ( DRUIDBAROptionsHeightEditBox:GetText() < "1" ) then -- DRUIDBAROptionsHeightEditBox:SetText("1"); -+ DRUIDBAROptionsHeightEditBox:SetText("18");  - DruidBarKey.yvar = self:GetNumber(); - DruidBarKey.tempH = DruidBarKey.yvar; - elseif( DRUIDBAROptionsHeightEditBox:GetText() > "999" ) then -- 1.7.9.5