Skip to content

Commit

Permalink
v0.3.39
Browse files Browse the repository at this point in the history
  • Loading branch information
d4kir92 committed Nov 26, 2023
1 parent 5db43da commit dc3db6c
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion DarkMode.toc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Interface-Wrath: 30403
## Interface: 100200

## Version: 0.3.38
## Version: 0.3.39
## 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_TBC.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 20504
## Version: 0.3.38
## Version: 0.3.39
## 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: 11500
## Version: 0.3.38
## Version: 0.3.39
## 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.3.38
## Version: 0.3.39
## 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 data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function DarkMode:GetUiColor()
end

function DarkMode:GetUFColor()
local r, g, b, a = DarkMode:GetColor(DarkMode:GV("COLORMODEUF", 7), "CUSTOMUFC")
local r, g, b, a = DarkMode:GetColor(DarkMode:GV("COLORMODEUF", 1), "CUSTOMUFC")

return r, g, b, a
end
Expand Down
8 changes: 4 additions & 4 deletions settings.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local _, DarkMode = ...
local config = {
["title"] = format("DarkMode |T136122:16:16:0:0|t v|cff3FC7EB%s", "0.3.38")
["title"] = format("DarkMode |T136122:16:16:0:0|t v|cff3FC7EB%s", "0.3.39")
}

local searchStr = ""
Expand Down Expand Up @@ -259,14 +259,14 @@ function DarkMode:InitDMSettings()
local sCMUF = AddSlider(
4,
"COLORMODEUF",
DarkMode:GV("COLORMODEUF", 7),
DarkMode:GV("COLORMODEUF", 1),
function(sel, val)
sel.Text:SetText(DarkMode:GT("COLORMODEUF") .. ": " .. DarkMode:GetColorModes()[val])
DarkMode:UpdateColors()
end, 1, getn(DarkMode:GetColorModes()), 1
)

sCMUF.Text:SetText(DarkMode:GT("COLORMODEUF") .. ": " .. DarkMode:GetColorModes()[DarkMode:GV("COLORMODEUF", 7)])
sCMUF.Text:SetText(DarkMode:GT("COLORMODEUF") .. ": " .. DarkMode:GetColorModes()[DarkMode:GV("COLORMODEUF", 1)])
DarkMode:AddColorPicker("CUSTOMUFC", DMSettings.SC, 0, 0)
local sCMTT = AddSlider(
4,
Expand All @@ -278,7 +278,7 @@ function DarkMode:InitDMSettings()
end, 1, getn(DarkMode:GetColorModes()), 1
)

sCMTT.Text:SetText(DarkMode:GT("COLORMODETT") .. ": " .. DarkMode:GetColorModes()[DarkMode:GV("COLORMODETT", 7)])
sCMTT.Text:SetText(DarkMode:GT("COLORMODETT") .. ": " .. DarkMode:GetColorModes()[DarkMode:GV("COLORMODETT", 1)])
DarkMode:AddColorPicker("CUSTOMTTC", DMSettings.SC, 0, 0)
local sCMF = AddSlider(
4,
Expand Down

0 comments on commit dc3db6c

Please sign in to comment.