From dc3db6c580b7e341e0676f555c4d753a598b0134 Mon Sep 17 00:00:00 2001 From: D4KiR <23246564+d4kir92@users.noreply.github.com> Date: Sun, 26 Nov 2023 10:55:14 +0100 Subject: [PATCH] v0.3.39 --- DarkMode.toc | 2 +- DarkMode_TBC.toc | 2 +- DarkMode_Vanilla.toc | 2 +- DarkMode_Wrath.toc | 2 +- data.lua | 2 +- settings.lua | 8 ++++---- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/DarkMode.toc b/DarkMode.toc index 4d66d56..5035c2b 100644 --- a/DarkMode.toc +++ b/DarkMode.toc @@ -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 diff --git a/DarkMode_TBC.toc b/DarkMode_TBC.toc index 8b5c5ce..ee41a9f 100644 --- a/DarkMode_TBC.toc +++ b/DarkMode_TBC.toc @@ -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 diff --git a/DarkMode_Vanilla.toc b/DarkMode_Vanilla.toc index a193bab..1f53c31 100644 --- a/DarkMode_Vanilla.toc +++ b/DarkMode_Vanilla.toc @@ -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 diff --git a/DarkMode_Wrath.toc b/DarkMode_Wrath.toc index 64abe80..9d55723 100644 --- a/DarkMode_Wrath.toc +++ b/DarkMode_Wrath.toc @@ -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 diff --git a/data.lua b/data.lua index 145c869..87542eb 100644 --- a/data.lua +++ b/data.lua @@ -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 diff --git a/settings.lua b/settings.lua index 3dc2c73..034c0e3 100644 --- a/settings.lua +++ b/settings.lua @@ -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 = "" @@ -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, @@ -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,