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