- added in Gerber editor a method for zoom fit that takes into consideration the current geometry of the edited object

This commit is contained in:
Marius Stanciu
2020-05-01 17:42:16 +03:00
committed by Marius
parent 37c6bb2c61
commit f4617034af
3 changed files with 38 additions and 2 deletions

View File

@@ -3811,10 +3811,10 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
self.app.grb_editor.select_tool('track')
return
# Zoom Fit
# Zoom fit
if key == QtCore.Qt.Key_V or key == 'V':
self.app.grb_editor.launched_from_shortcuts = True
self.app.on_zoom_fit(None)
self.app.grb_editor.on_zoom_fit()
return
# Show Shortcut list