mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-17 18:20:49 +00:00
thirdparty: only apply transparency for chatbg
This commit is contained in:
@@ -151,7 +151,7 @@ pfUI:RegisterModule("thirdparty", function ()
|
|||||||
KLHTM_Gui.title.back:Hide()
|
KLHTM_Gui.title.back:Hide()
|
||||||
KLHTM_SetGuiScale(.9)
|
KLHTM_SetGuiScale(.9)
|
||||||
|
|
||||||
CreateBackdrop(KLHTM_Frame, nil, nil, .8)
|
CreateBackdrop(KLHTM_Frame, nil, nil, (C.thirdparty.chatbg == "1" and .8))
|
||||||
|
|
||||||
if C.thirdparty.chatbg == "1" and C.chat.global.custombg == "1" then
|
if C.thirdparty.chatbg == "1" and C.chat.global.custombg == "1" then
|
||||||
local r, g, b, a = strsplit(",", C.chat.global.background)
|
local r, g, b, a = strsplit(",", C.chat.global.background)
|
||||||
@@ -272,7 +272,7 @@ pfUI:RegisterModule("thirdparty", function ()
|
|||||||
|
|
||||||
for k, val in pairs(DPSMateSettings["windows"]) do
|
for k, val in pairs(DPSMateSettings["windows"]) do
|
||||||
local frame = _G["DPSMate_"..val["name"]]
|
local frame = _G["DPSMate_"..val["name"]]
|
||||||
CreateBackdrop(frame, nil, nil, .8)
|
CreateBackdrop(frame, nil, nil, (C.thirdparty.chatbg == "1" and .8))
|
||||||
|
|
||||||
if C.thirdparty.chatbg == "1" and C.chat.global.custombg == "1" then
|
if C.thirdparty.chatbg == "1" and C.chat.global.custombg == "1" then
|
||||||
local r, g, b, a = strsplit(",", C.chat.global.background)
|
local r, g, b, a = strsplit(",", C.chat.global.background)
|
||||||
@@ -336,7 +336,7 @@ pfUI:RegisterModule("thirdparty", function ()
|
|||||||
SW_BarFrame1.swoBarY = -22
|
SW_BarFrame1.swoBarY = -22
|
||||||
_G.SW_BARSEPY = 1
|
_G.SW_BARSEPY = 1
|
||||||
|
|
||||||
CreateBackdrop(SW_BarFrame1, nil, nil, .8)
|
CreateBackdrop(SW_BarFrame1, nil, nil, (C.thirdparty.chatbg == "1" and .8))
|
||||||
|
|
||||||
if C.thirdparty.chatbg == "1" and C.chat.global.custombg == "1" then
|
if C.thirdparty.chatbg == "1" and C.chat.global.custombg == "1" then
|
||||||
local r, g, b, a = strsplit(",", C.chat.global.background)
|
local r, g, b, a = strsplit(",", C.chat.global.background)
|
||||||
|
|||||||
Reference in New Issue
Block a user