- made the mouse cursor snap to the grid when grid snapping is active

- changed the axis color to the one used in the OpenGL graphic engine
This commit is contained in:
Marius Stanciu
2019-09-20 18:07:36 +03:00
parent 011e80c0ce
commit 3a54eaa5d8
3 changed files with 43 additions and 10 deletions

View File

@@ -7640,7 +7640,7 @@ class App(QtCore.QObject):
self.app_cursor.set_data(np.asarray([(pos[0], pos[1])]),
symbol='++', edge_color='black', size=20)
else:
self.app_cursor.set_data((pos[0], pos[1]))
self.app_cursor.set_data(event, (pos[0], pos[1]))
else:
pos = (pos_canvas[0], pos_canvas[1])