From f624ad793b14004e8f79b4885c563839087bd1e7 Mon Sep 17 00:00:00 2001 From: LaYt Date: Sat, 5 Nov 2022 12:09:08 +0700 Subject: [PATCH 1/2] Fixed color settings --- Frame_SettingsFrame.lua | 9 +++++---- Settings.lua | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Frame_SettingsFrame.lua b/Frame_SettingsFrame.lua index a6ab4ab..2719bea 100644 --- a/Frame_SettingsFrame.lua +++ b/Frame_SettingsFrame.lua @@ -242,7 +242,7 @@ function objSettingsFrame:new(fParent, tTexture, oSettings) na = 1 - OpacitySliderFrame:GetValue() end r1, g1, b1, a1 = nr, ng, nb, na - btn.artwork:SetVertexColor(r1, g1, b1, a1) + --btn.background:SetVertexColor(r1, g1, b1, a1) if sText == "VG_MainFrame" then frame:SetBackdropColor(r1, g1, b1, a1) @@ -269,23 +269,24 @@ function objSettingsFrame:new(fParent, tTexture, oSettings) a1 = .99 frame:SetTextColor(r1, g1, b1, a1) --VGuide.db.char.UIoptions.StepFrameTextColor = { - tUI.ScrollFrameColor = { + tUI.StepFrameTextColor = { nR = r1, nG = g1, nB = b1, nA = a1, } oSettings:SetSettingsUI(tUI) elseif sText == "VG_MainFrame_ScrollFrameLabels" then local frame = getglobal("VG_MainFrame_ScrollFrameChild") local shEH = frame.Entries - a1 = .71 + a1 = .99 for _,v in pairs(shEH) do v:SetTextColor(r1, g1, b1, a1) end --VGuide.db.char.UIoptions.ScrollFrameTextColor = { - tUI.ScrollFrameColor = { + tUI.ScrollFrameTextColor = { nR = r1, nG = g1, nB = b1, nA = a1, } oSettings:SetSettingsUI(tUI) end + btn.artwork:SetVertexColor(r1, g1, b1, a1) end ColorPickerFrame.cancelFunc = ColorPickerFrame.func ColorPickerFrame.opacityFunc = ColorPickerFrame.func diff --git a/Settings.lua b/Settings.lua index 0d03ca1..9fde684 100644 --- a/Settings.lua +++ b/Settings.lua @@ -90,7 +90,7 @@ function objSettings:new() nR = .59, nG = .59, nB = .59, - nA = .71, + nA = .99, }, }, CharInfo = { From 2cabb99a631b28b206ef689531e0a10dda5b687f Mon Sep 17 00:00:00 2001 From: LaYt Date: Sat, 5 Nov 2022 17:25:26 +0700 Subject: [PATCH 2/2] Update GuideTable.lua --- GuideTable.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GuideTable.lua b/GuideTable.lua index bcc67a8..1e27ffa 100644 --- a/GuideTable.lua +++ b/GuideTable.lua @@ -262,7 +262,7 @@ function objGuideTable:new(oSettings) { "v", "40-41 Badlands", id = nil }, { "v", "41-41 Swamp of Sorrows", id = nil }, { "v", "41-42 Desolace", id = nil }, - { "v", "42-43 Stranglethron Vale", id = nil }, + { "v", "42-43 Stranglethorn Vale", id = nil }, { "v", "43-43 Tanaris", id = nil }, { "v", "43-45 Feralas", id = nil }, { "v", "45-46 Uldaman", id = nil }, @@ -645,7 +645,7 @@ do [4041] = { title = "40-41 Badlands" }, [4141] = { title = "41-41 Swamp of Sorrows" }, [4142] = { title = "41-42 Desolace" }, - [4243] = { title = "42-43 Stranglethron Vale" }, + [4243] = { title = "42-43 Stranglethorn Vale" }, [4343] = { title = "43-43 Tanaris" }, [4345] = { title = "43-45 Feralas" }, [4546] = { title = "45-46 Uldaman" },