- Fixed missing SetBackdrop in TitanPanelVolume.
HonorGoG [04-27-21 - 05:29]
- Fixed missing SetBackdrop in TitanPanelVolume.
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