Quantcast

Updated TitanPanelVolume XML due to changes.

HonorGoG [04-27-21 - 05:41]
 Updated TitanPanelVolume XML due to changes.
Filename
TitanClassicVolume/TitanClassicVolume.xml
diff --git a/TitanClassicVolume/TitanClassicVolume.xml b/TitanClassicVolume/TitanClassicVolume.xml
index d260c91..1cc7533 100644
--- a/TitanClassicVolume/TitanClassicVolume.xml
+++ b/TitanClassicVolume/TitanClassicVolume.xml
@@ -1,10 +1,13 @@
 <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
 ..\FrameXML\UI.xsd">
 	<Script file="TitanClassicVolume.lua"/>
-	<Frame name="TitanPanelVolumeControlFrameTemplate" virtual="true" hidden="true">
+	<Frame name="TitanPanelVolumeControlFrameTemplate" inherits="BackdropTemplate" virtual="true" hidden="true">
 		<Size>
 			<AbsDimension x="400" y="200" />
 		</Size>
+<!--
+Blizzard decided to remove direct Backdrop API in 9.0 (Shadowlands) so inherit the template
+and set the values in the code.
 		<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
 			<EdgeSize>
 				<AbsValue val="16"/>
@@ -16,6 +19,7 @@
 				<AbsInset left="5" right="5" top="5" bottom="5"/>
 			</BackgroundInsets>
 		</Backdrop>
+-->
 		<Layers>
 			<Layer>
 				<FontString name="$parentTitle" inherits="GameFontNormalSmall">