From dc6e6219672bf8236805506895e52f6cef769f53 Mon Sep 17 00:00:00 2001 From: HonorGoG Date: Mon, 26 Apr 2021 22:29:38 -0700 Subject: [PATCH] - Fixed missing SetBackdrop in TitanPanelVolume. --- TitanClassicVolume/TitanClassicVolume.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/TitanClassicVolume/TitanClassicVolume.lua b/TitanClassicVolume/TitanClassicVolume.lua index 4fd8695..394b3b0 100644 --- a/TitanClassicVolume/TitanClassicVolume.lua +++ b/TitanClassicVolume/TitanClassicVolume.lua @@ -357,6 +357,14 @@ function TitanPanelVolumeControlFrame_OnLoad(self) _G[self:GetName().."DialogTitle"]:SetText(L["TITAN_VOLUME_DIALOG_CONTROL_TITLE"]); -- _G[self:GetName().."MicrophoneTitle"]:SetText(L["TITAN_VOLUME_MICROPHONE_CONTROL_TITLE"]); -- _G[self:GetName().."SpeakerTitle"]:SetText(L["TITAN_VOLUME_SPEAKER_CONTROL_TITLE"]); + self:SetBackdrop({ + bgFile = "Interface\\DialogFrame\\UI-DialogBox-Background-Dark", + edgeFile = "Interface\\DialogFrame\\UI-DialogBox-Border", + tile = true, + tileSize = 32, + edgeSize = 32, + insets = { left = 11, right = 12, top = 12, bottom = 9, }, + }) self:SetBackdropBorderColor(1, 1, 1); self:SetBackdropColor(0, 0, 0, 1); end -- 1.7.9.5