From 5291d27cdbcf99024a6a76462ba39a531c6e03ff Mon Sep 17 00:00:00 2001 From: Tek Hudson Date: Mon, 12 Aug 2019 00:09:42 -0700 Subject: [PATCH] Fix Show Minimap button setting to work with new lib --- DruidBar.lua | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/DruidBar.lua b/DruidBar.lua index d80fb1a..3b034fb 100644 --- a/DruidBar.lua +++ b/DruidBar.lua @@ -444,9 +444,9 @@ function DruidBar_MainGraphics() -- If Minimap Icon should show based on settings if DruidBarKey.Minimap then - DruidBar_MinimapButton:Show(); + DruidBar_MinimapButton:Show("DruidBarMinimapIcon"); else - DruidBar_MinimapButton:Hide(); + DruidBar_MinimapButton:Hide("DruidBarMinimapIcon"); end -- If DruidBar should show based on settings if DruidBar_ShouldBeVisible() then @@ -1021,7 +1021,3 @@ function DruidBar_ChangeBestForm() UIErrorsFrame.AddMessage = UIErrorsFrame.realEcho; end end - -function DruidBar_MinimapButton_OnClick() - DRUIDBAROptionsFrame_Toggle(); -end -- 1.7.9.5