changeset 11:65fcb81f4e0a v1.2-r11

Media file placement Logic operations madness
author Nenue
date Sat, 19 Dec 2015 03:13:55 -0500
parents 5bd1ee0db47c
children 0f91c3679c01
files Devian.lua Devian.xml
diffstat 2 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Devian.lua	Sat Dec 19 00:03:29 2015 -0500
+++ b/Devian.lua	Sat Dec 19 03:13:55 2015 -0500
@@ -103,7 +103,7 @@
 
 -- Debug info
 local function CreateMessenger()
-  if db.console == true then
+  if db.console == true and db.enabled == false then
     DEVIAN_FRAME:Show()
   end
 
@@ -210,8 +210,7 @@
 end
 
 function D:OnEnable()
-  if db.enabled then
-    DEVIAN_FRAME:Hide()
+  if db.enabled == true then
     D:Print('Standard AddOn list active. Type /dvn to switch to development mode.')
   else
     D:Print('Development AddOn list active. Type /dvn to revert to regular operation.')
--- a/Devian.xml	Sat Dec 19 00:03:29 2015 -0500
+++ b/Devian.xml	Sat Dec 19 03:13:55 2015 -0500
@@ -86,6 +86,10 @@
           </Anchors>
           <Size y="20" />
           <Color r="0.3" g="0.3" b="0.3" a="1" />
+          <Gradient orientation="VERTICAL">
+            <MinColor r="0" g="0" b="0" a="0.7"/>
+            <MaxColor r="0.3" g="0.3" b="0.3" a="0.7"/>
+          </Gradient>
         </Texture>
         <FontString parentKey="text" font="Interface\Addons\Devian\font\SourceCodePro-Bold.ttf" wordwrap="true"
                     justifyH="LEFT"
@@ -101,7 +105,7 @@
         </FontString>
       </Layer>
       <Layer level="HIGHLIGHT">
-        <Texture parentKey="sizer" alphaMode="BLEND">
+        <Texture parentKey="sizer" strata="HIGH" alphaMode="ADD">
           <Anchors>
             <Anchor point="BOTTOMRIGHT" />
           </Anchors>