Checkbox also update settings

This commit is contained in:
Roman Jaroš 2025-03-07 13:57:47 +01:00
parent 414aef6924
commit b6d64d65b5
6 changed files with 45 additions and 40 deletions

View file

@ -71,7 +71,7 @@ function QuestFrame:ApplyTheme()
self.Texture:SetTexture("Interface/QUESTFRAME/QuestBG");
self.Texture:SetTexCoord(0, .58, 0.005, 0.66)
self:SetTextColor(0, 0, 0, 1)
if not CzechQuestsAddon_Store.config.QUEST_DARK_MODE then
if CzechQuestsAddon_Store.config.QUEST_DARK_MODE then
self:SetBackdropColor(0, 0, 0, 1)
self.Texture:SetColorTexture(0, 0, 0, 1)
self:SetTextColor(255, 255, 255, 1)