Skip to content

Commit

Permalink
v6.10
Browse files Browse the repository at this point in the history
  • Loading branch information
llinkz committed Apr 27, 2020
1 parent f90d99e commit fe1632b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions compute_ultimate.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,8 +745,11 @@ def move_from(self, event):

def move_to(self, event):
""" Move to. """
self.canvas.scan_dragto(event.x, event.y, gain=1)
self.show_image() # redraw the image
if 'HOST' in globals() and "current" not in self.canvas.gettags(self.canvas.find_withtag(CURRENT))[0]:
pass
elif "current" in self.canvas.gettags(self.canvas.find_withtag(CURRENT))[0]:
self.canvas.scan_dragto(event.x, event.y, gain=1)
self.show_image() # redraw the image

def wheel(self, event):
""" Routine for mouse wheel actions. """
Expand Down

0 comments on commit fe1632b

Please sign in to comment.