comparison 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
comparison
equal deleted inserted replaced
47:eb7544afd77a 48:2bf7eb1844cb
230 Devian.DockHighlight(self) 230 Devian.DockHighlight(self)
231 </OnEnter> 231 </OnEnter>
232 <OnLeave> 232 <OnLeave>
233 Devian.DockHighlight(self) 233 Devian.DockHighlight(self)
234 </OnLeave> 234 </OnLeave>
235 <OnMouseDown>
236 print('click', button, 'down')
237 </OnMouseDown>
238 <OnMouseUp>
239 print('click', button, 'up')
240 </OnMouseUp>
241 </Scripts> 235 </Scripts>
242 <Anchors> 236 <Anchors>
243 <Anchor point="TOP" relativePoint="TOP" x="0" y="1" /> 237 <Anchor point="TOP" relativePoint="TOP" x="0" y="1" />
244 </Anchors> 238 </Anchors>
245 <Size x="32" y="20" /> 239 <Size x="32" y="20" />
275 --print("click", self:GetName(), button, self.console.index) 269 --print("click", self:GetName(), button, self.console.index)
276 if button == "LeftButton" then 270 if button == "LeftButton" then
277 if IsShiftKeyDown() then 271 if IsShiftKeyDown() then
278 Devian:Console_Toggle(self.console.index, 0) 272 Devian:Console_Toggle(self.console.index, 0)
279 else 273 else
280 Devian:Console_Toggle(self.console.index) 274 if self.console.index == DevianDB.current_channel or (not self.console.enabled) then
281 if self.console.enabled then 275 Devian:Console_Toggle(self.console.index)
282 if self.console.minimized then 276 if self.console.enabled then
283 self.console:MinMax() 277 if self.console.minimized then
278 self.console:MinMax()
279 end
280 self.console:ToFront()
284 end 281 end
282 else
285 self.console:ToFront() 283 self.console:ToFront()
286 else
287 end 284 end
288 end 285 end
289 elseif button == "RightButton" then 286 elseif button == "RightButton" then
290 self.console:MinMax() 287 self.console:MinMax()
291 end 288 end