diff --git a/DarkMode.toc b/DarkMode.toc index e2c9de8..161e8fb 100644 --- a/DarkMode.toc +++ b/DarkMode.toc @@ -3,7 +3,7 @@ ## Interface-Wrath: 30403 ## Interface: 100205 -## Version: 0.4.26 +## Version: 0.4.27 ## Title: DarkMode by |cff3FC7EBD4KiR |T132115:16:16:0:0|t ## Notes: Improve Any Ui or Frame ## Author: D4KiR diff --git a/DarkMode_TBC.toc b/DarkMode_TBC.toc index 9b7f8a8..f9daf60 100644 --- a/DarkMode_TBC.toc +++ b/DarkMode_TBC.toc @@ -1,5 +1,5 @@ ## Interface: 20504 -## Version: 0.4.26 +## Version: 0.4.27 ## Title: DarkMode |T136122:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t ## Notes: Improve Any Ui or Frame ## Author: D4KiR diff --git a/DarkMode_Vanilla.toc b/DarkMode_Vanilla.toc index f378fdf..dcb6bac 100644 --- a/DarkMode_Vanilla.toc +++ b/DarkMode_Vanilla.toc @@ -1,5 +1,5 @@ ## Interface: 11500 -## Version: 0.4.26 +## Version: 0.4.27 ## Title: DarkMode |T136122:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t ## Notes: Improve Any Ui or Frame ## Author: D4KiR diff --git a/DarkMode_Wrath.toc b/DarkMode_Wrath.toc index f1c2b2e..8745e12 100644 --- a/DarkMode_Wrath.toc +++ b/DarkMode_Wrath.toc @@ -1,5 +1,5 @@ ## Interface: 30403 -## Version: 0.4.26 +## Version: 0.4.27 ## Title: DarkMode |T136122:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t ## Notes: Improve Any Ui or Frame ## Author: D4KiR diff --git a/core.lua b/core.lua index e548d26..0b781a5 100644 --- a/core.lua +++ b/core.lua @@ -673,7 +673,7 @@ function DarkMode:SearchUi(from) for x = 1, max do local btnTexture = _G[name .. x .. "NormalTexture"] - if name == "BT4StanceButton" and _G[name .. x] and _G[name .. x .. "BorderFix"] == nil then + if name == "BT4StanceButton" and _G[name .. x] and _G[name .. x .. "BorderFix"] == nil and DarkMode:IsEnabled("MASKACTIONBUTTONS", true) then local sw, sh = _G[name .. x]:GetSize() sw = DarkMode:MathR(sw) sh = DarkMode:MathR(sh) diff --git a/settings.lua b/settings.lua index 916538d..52fbf9d 100644 --- a/settings.lua +++ b/settings.lua @@ -222,8 +222,8 @@ function DarkMode:InitDMSettings() DMSettings:Hide() end - D4:SetVersion(AddonName, 136122, "0.4.26") - DMSettings.TitleText:SetText(format("DarkMode |T136122:16:16:0:0|t v|cff3FC7EB%s", "0.4.26")) + D4:SetVersion(AddonName, 136122, "0.4.27") + DMSettings.TitleText:SetText(format("DarkMode |T136122:16:16:0:0|t v|cff3FC7EB%s", "0.4.27")) DMSettings.CloseButton:SetScript( "OnClick", function()