Quantcast

Fix options bg and hopefully publish to bcc

Tek Hudson [05-19-21 - 23:42]
Fix options bg and hopefully publish to bcc
Filename
.travis.yml
CHANGELOG.md
DruidBarClassic.toc
Options.xml
diff --git a/.travis.yml b/.travis.yml
index 03ed126..382f5ce 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,7 +6,8 @@ addons:
     packages:
     - pandoc

-script: curl -s https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh | bash
+script: curl -s https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh | bash -s -- -g bcc
+

 branches:
   only:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b904569..761ba24 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,8 @@
 ## Version History

+#### 0.7.10
+Fix options panel background
+
 #### 0.7.9
 Bump interface version to 2.05.01
 Remove backgroup for options pannels that was buggy.
diff --git a/DruidBarClassic.toc b/DruidBarClassic.toc
index d2c5705..7810831 100644
--- a/DruidBarClassic.toc
+++ b/DruidBarClassic.toc
@@ -4,7 +4,7 @@
 ## Current Author: Tek (port to WoW Classic)
 ## Original Authors: SkaDemon (GUI: DiabloHu)
 ## SavedVariables: DruidBarKey
-## Version: 0.7.9
+## Version: 0.7.10
 ## X-Curse-Project-ID: 334762
 ## X-WoWI-ID: 25036

diff --git a/Options.xml b/Options.xml
index e784e02..08dbe7f 100644
--- a/Options.xml
+++ b/Options.xml
@@ -1,28 +1,16 @@
 <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">
-	<Frame name="DRUIDBAROptionsFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="UIParent">
-		<Size>
-			<AbsDimension x="460" y="340"/>
-		</Size>
+	<Frame name="DRUIDBAROptionsFrame" parent="UIParent" inherits="BackdropTemplate" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true">
+		<KeyValues>
+			<KeyValue key="backdropInfo" value="BACKDROP_DIALOG_32_32" type="global">
+		</KeyValues>
+
+		<Size x="460" y="340"/>

 		<Anchors>
 			<Anchor point="CENTER"/>
 		</Anchors>

-		<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
-			<BackgroundInsets>
-				<AbsInset left="11" right="12" top="12" bottom="11"/>
-			</BackgroundInsets>
-
-			<TileSize>
-				<AbsValue val="32"/>
-			</TileSize>
-
-			<EdgeSize>
-				<AbsValue val="32"/>
-			</EdgeSize>
-		</Backdrop>
-
 		<Layers>
 			<Layer level="ARTWORK">
 				<Texture name="DRUIDBAROptionsFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header" movable="true" enableMouse="true">
@@ -744,7 +732,7 @@
 		</Frames>

 		<Scripts>
-			<OnLoad>
+			<OnLoad inherit="prepend">
 				DRUIDBAROptions_OnLoad();
 				self:RegisterForDrag("LeftButton");
 			</OnLoad>