mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-22 07:16:38 +00:00
libroar/RoarCanvasCommandsEdit.py:canvasColourAlpha_(): fix signature.
This commit is contained in:
parent
7a4e1b23e9
commit
8485ab568d
@ -95,7 +95,7 @@ class RoarCanvasCommandsEdit():
|
|||||||
# {{{ canvasColourAlpha(self, f, idx)
|
# {{{ canvasColourAlpha(self, f, idx)
|
||||||
@GuiSelectDecorator(0, "Transparent colour", "Transparent colour", None, None, False)
|
@GuiSelectDecorator(0, "Transparent colour", "Transparent colour", None, None, False)
|
||||||
def canvasColourAlpha(self, f, idx):
|
def canvasColourAlpha(self, f, idx):
|
||||||
def canvasColourAlpha_(self, event):
|
def canvasColourAlpha_(event):
|
||||||
if event.GetEventType() == wx.wxEVT_TOOL:
|
if event.GetEventType() == wx.wxEVT_TOOL:
|
||||||
self.parentCanvas.brushColours[0] = -1
|
self.parentCanvas.brushColours[0] = -1
|
||||||
elif event.GetEventType() == wx.wxEVT_TOOL_RCLICKED:
|
elif event.GetEventType() == wx.wxEVT_TOOL_RCLICKED:
|
||||||
|
Loading…
Reference in New Issue
Block a user