Skip to content

Commit

Permalink
Removed the zoom buttons in expert mode for now because they break th…
Browse files Browse the repository at this point in the history
…ose in easy mode
  • Loading branch information
jgagneastro committed Apr 7, 2019
1 parent a9cc60d commit 0e4f51f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions coffeegrindsize.py
Expand Up @@ -401,11 +401,11 @@ def __init__(self, root):
self.label_separator(simpleonly=True)

#Button to zoom in
self.zoom_in_button = Button(self.frame_options, text="Zoom In", command=self.zoom_in_button)
self.zoom_in_button.grid(row=self.options_row, column=0, columnspan=1, sticky=E)
#self.zoom_in_button = Button(self.frame_options, text="Zoom In", command=self.zoom_in_button)
#self.zoom_in_button.grid(row=self.options_row, column=0, columnspan=1, sticky=E)

self.zoom_out_button = Button(self.frame_options, text="Zoom Out", command=self.zoom_out_button)
self.zoom_out_button.grid(row=self.options_row, column=1, columnspan=1, sticky=W)
#self.zoom_out_button = Button(self.frame_options, text="Zoom Out", command=self.zoom_out_button)
#self.zoom_out_button.grid(row=self.options_row, column=1, columnspan=1, sticky=W)

#Button for resetting zoom in the displayed image
self.reset_zoom_button = Button(self.frame_options, text="Reset View", command=self.reset_zoom)
Expand Down Expand Up @@ -1563,7 +1563,7 @@ def motion(self, event, only_refresh_display=False):

#Method to apply a zoom in with the button
def zoom_in_button(self):

#Artificially set the mouse position at the image center
self.mouse_x, self.mouse_y = self.last_image_x, self.last_image_x

Expand Down

0 comments on commit 0e4f51f

Please sign in to comment.