Skip to content
Snippets Groups Projects
Commit e7651b54 authored by Paul McCarthy's avatar Paul McCarthy
Browse files

LightBoxCanvas was ignoring cursor colour.

parent b1e87155
No related branches found
No related tags found
No related merge requests found
...@@ -731,9 +731,14 @@ class LightBoxCanvas(slicecanvas.SliceCanvas): ...@@ -731,9 +731,14 @@ class LightBoxCanvas(slicecanvas.SliceCanvas):
annot = self.getAnnotations() annot = self.getAnnotations()
annot.line(xverts[0], xverts[1], colour=(0, 1, 0), width=1) kwargs = {
annot.line(yverts[0], yverts[1], colour=(0, 1, 0), width=1) 'colour' : self.cursorColour,
'width' : 1
}
annot.line(xverts[0], xverts[1], **kwargs)
annot.line(yverts[0], yverts[1], **kwargs)
def _draw(self, *a): def _draw(self, *a):
"""Draws the current scene to the canvas. """ """Draws the current scene to the canvas. """
......
...@@ -219,7 +219,6 @@ def interface(parent, args, ctx): ...@@ -219,7 +219,6 @@ def interface(parent, args, ctx):
splashFrame.Update() splashFrame.Update()
wx.CallLater(250, splashFrame.Close) wx.CallLater(250, splashFrame.Close)
# If a perspective has been specified, # If a perspective has been specified,
# we load the perspective # we load the perspective
if args.scene is not None: if args.scene is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment