Mercurial > wow > devian
diff Devian.xml @ 48:2bf7eb1844cb v2.0-raw
commenting out prints
author | Nenue |
---|---|
date | Mon, 04 Jan 2016 07:56:08 -0500 |
parents | eb7544afd77a |
children | c3166f700438 |
line wrap: on
line diff
--- a/Devian.xml Mon Jan 04 05:42:44 2016 -0500 +++ b/Devian.xml Mon Jan 04 07:56:08 2016 -0500 @@ -232,12 +232,6 @@ <OnLeave> Devian.DockHighlight(self) </OnLeave> - <OnMouseDown> - print('click', button, 'down') - </OnMouseDown> - <OnMouseUp> - print('click', button, 'up') - </OnMouseUp> </Scripts> <Anchors> <Anchor point="TOP" relativePoint="TOP" x="0" y="1" /> @@ -277,13 +271,16 @@ if IsShiftKeyDown() then Devian:Console_Toggle(self.console.index, 0) else - Devian:Console_Toggle(self.console.index) - if self.console.enabled then - if self.console.minimized then - self.console:MinMax() + if self.console.index == DevianDB.current_channel or (not self.console.enabled) then + Devian:Console_Toggle(self.console.index) + if self.console.enabled then + if self.console.minimized then + self.console:MinMax() + end + self.console:ToFront() end + else self.console:ToFront() - else end end elseif button == "RightButton" then