Skip to content

Commit

Permalink
v0.5.22
Browse files Browse the repository at this point in the history
  • Loading branch information
d4kir92 committed Apr 30, 2024
1 parent 7c5a42b commit 8d10420
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion DarkMode.toc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Interface-Cata: 40400
## Interface: 100206

## Version: 0.5.21
## Version: 0.5.22
## Title: DarkMode by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Improve Any Ui or Frame
## Author: D4KiR
Expand Down
2 changes: 1 addition & 1 deletion DarkMode_Cata.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 40400
## Version: 0.5.21
## Version: 0.5.22
## Title: DarkMode |T136122:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Improve Any Ui or Frame
## Author: D4KiR
Expand Down
2 changes: 1 addition & 1 deletion DarkMode_TBC.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 20504
## Version: 0.5.21
## Version: 0.5.22
## Title: DarkMode |T136122:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Improve Any Ui or Frame
## Author: D4KiR
Expand Down
2 changes: 1 addition & 1 deletion DarkMode_Vanilla.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 11502
## Version: 0.5.21
## Version: 0.5.22
## Title: DarkMode |T136122:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Improve Any Ui or Frame
## Author: D4KiR
Expand Down
2 changes: 1 addition & 1 deletion DarkMode_Wrath.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 30403
## Version: 0.5.21
## Version: 0.5.22
## Title: DarkMode |T136122:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Improve Any Ui or Frame
## Author: D4KiR
Expand Down
6 changes: 3 additions & 3 deletions core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1228,7 +1228,7 @@ function DarkMode:Event(event, ...)
DarkMode:UpdateColor(btn.__MSQ_NewNormal, "actionbuttons")
end
else
if DarkMode:IsEnabled("THINBORDERS", true) then
if DarkMode:IsEnabled("THINBORDERS", false) then
if btn and _G["Buff" .. index .. "BorderDM"] == nil and DarkMode:IsEnabled("MASKBUFFSANDDEBUFFS", true) then
if btn.Icon then
local br = 0.075
Expand Down Expand Up @@ -1286,7 +1286,7 @@ function DarkMode:Event(event, ...)
DarkMode:UpdateColor(btn.__MSQ_NewNormal, "actionbuttons")
end
else
if DarkMode:IsEnabled("THINBORDERS", true) then
if DarkMode:IsEnabled("THINBORDERS", false) then
if DarkMode:IsEnabled("MASKBUFFSANDDEBUFFS", true) then
if _G[buttonName .. index .. "Icon"] then
local br = 0.075
Expand Down Expand Up @@ -1348,7 +1348,7 @@ function DarkMode:Event(event, ...)
DarkMode:UpdateColor(btn.__MSQ_NewNormal, "actionbuttons")
end
else
if DarkMode:IsEnabled("THINBORDERS", true) then
if DarkMode:IsEnabled("THINBORDERS", false) then
if btn and DarkMode:IsEnabled("MASKBUFFSANDDEBUFFS", true) then
if _G[buttonName .. index .. "Icon"] then
local br = 0.075
Expand Down
4 changes: 2 additions & 2 deletions settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@ function DarkMode:InitDMSettings()
DMSettings:Hide()
end

D4:SetVersion(AddonName, 136122, "0.5.21")
DMSettings.TitleText:SetText(format("DarkMode |T136122:16:16:0:0|t v|cff3FC7EB%s", "0.5.21"))
D4:SetVersion(AddonName, 136122, "0.5.22")
DMSettings.TitleText:SetText(format("DarkMode |T136122:16:16:0:0|t v|cff3FC7EB%s", "0.5.22"))
DMSettings.CloseButton:SetScript(
"OnClick",
function()
Expand Down

0 comments on commit 8d10420

Please sign in to comment.