Skip to content

Commit

Permalink
finish incomplete change to disable drag-based paint mode
Browse files Browse the repository at this point in the history
The brush was disabled, but painting still occurred with the
previous partial fix.
  • Loading branch information
karlcz committed Jan 26, 2018
1 parent 3d0ff96 commit 3f457ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion synspy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
#import analyze
#import viewer

__version__ = "20180125.1"
__version__ = "20180125.2"
4 changes: 2 additions & 2 deletions synspy/viewer2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,8 +782,8 @@ def find_paint_center(self, event):
self.paint_center = (x, y)
self.program['u_paint_center'] = self.paint_center

if event.button and not self.sticky_drag:
self.drag_button = event.button + self.mouse_button_offset
#if event.button and not self.sticky_drag:
# self.drag_button = event.button + self.mouse_button_offset
self.pick_idx = 0

if self.paint_center != self.prev_paint_center \
Expand Down

0 comments on commit 3f457ef

Please sign in to comment.