- made hover shapes work in legacy graphic engine

- fixed bug in display of the apertures marked in the Aperture table found in the Gerber Selected tab and through this made it to also work with the legacy graphic engine
- fixed annotation in Mark Area Tool in Gerber Editor to work in legacy graphic engine
This commit is contained in:
Marius Stanciu
2019-09-22 13:12:21 +03:00
committed by Marius
parent b0b2e37ac6
commit f00559bf6a
10 changed files with 133 additions and 53 deletions

View File

@@ -343,10 +343,10 @@ class Measurement(FlatCAMTool):
if self.app.grid_status() == True:
pos = self.app.geo_editor.snap(pos_canvas[0], pos_canvas[1])
if self.app.is_legacy is False:
# Update cursor
self.app.app_cursor.set_data(np.asarray([(pos[0], pos[1])]),
symbol='++', edge_color='black', size=20)
# Update cursor
self.app.app_cursor.set_data(np.asarray([(pos[0], pos[1])]),
symbol='++', edge_color='black', size=20)
else:
pos = (pos_canvas[0], pos_canvas[1])