added slash command to show
Pawkette [03-01-14 - 08:13]
added slash command to show
diff --git a/Console.lua b/Console.lua
index 5e584d9..293b622 100644
--- a/Console.lua
+++ b/Console.lua
@@ -185,4 +185,5 @@ end
-- @tparam table self
function Pky_Console_Initialized( self )
CONSOLE = Console:New( self )
+ SLASH_COMMANDS['/console'] = function( ... ) CONSOLE:Show() end
end
\ No newline at end of file
diff --git a/Console.xml b/Console.xml
index fad764f..518da42 100644
--- a/Console.xml
+++ b/Console.xml
@@ -6,7 +6,7 @@
<OnInitialized>Pky_Console_Initialized( self )</OnInitialized>
<Controls>
- <Backdrop name="$(parent)_Background" inherits="ZO_Default/Backdrop" alpha="0.8"/>
+ <Backdrop name="$(parent)_Background" inherits="ZO_DefaultBackdrop" alpha="0.8"/>
<Button name="$(parent)_Close" inherits="ZO_CloseButton">
<Anchor point="TOPLEFT" offsetX="8" offsetY="8"/>
</Button>