- 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:
@@ -7719,10 +7719,9 @@ class App(QtCore.QObject):
|
||||
if self.grid_status() == True:
|
||||
pos = self.geo_editor.snap(pos_canvas[0], pos_canvas[1])
|
||||
|
||||
if self.is_legacy is False:
|
||||
# Update cursor
|
||||
self.app_cursor.set_data(np.asarray([(pos[0], pos[1])]),
|
||||
symbol='++', edge_color='black', size=20)
|
||||
# Update cursor
|
||||
self.app_cursor.set_data(np.asarray([(pos[0], pos[1])]),
|
||||
symbol='++', edge_color='black', size=20)
|
||||
else:
|
||||
pos = (pos_canvas[0], pos_canvas[1])
|
||||
|
||||
@@ -7766,7 +7765,7 @@ class App(QtCore.QObject):
|
||||
obj.isHovering = True
|
||||
obj.notHovering = True
|
||||
# create the selection box around the selected object
|
||||
self.draw_hover_shape(obj, color='#d1e0e0')
|
||||
self.draw_hover_shape(obj, color='#d1e0e0FF')
|
||||
else:
|
||||
if obj.notHovering is True:
|
||||
obj.notHovering = False
|
||||
|
||||
Reference in New Issue
Block a user