- various small fixes

This commit is contained in:
Marius
2019-12-03 16:26:53 +02:00
committed by Marius Stanciu
parent 685413209f
commit e971dc17ba
6 changed files with 28 additions and 15 deletions

View File

@@ -5920,6 +5920,15 @@ class App(QtCore.QObject):
pass
pass
self.toggle_grid_lines = True
# HACK: enabling/disabling the cursor seams to somehow update the shapes on screen
# - perhaps is a bug in VisPy implementation
if self.grid_status() is True:
self.app_cursor.enabled = False
self.app_cursor.enabled = True
else:
self.app_cursor.enabled = True
self.app_cursor.enabled = False
else:
if self.is_legacy is False:
if theme == 'white':