- made sure that the corner snap buttons are shown only in Editors

- changed the HUD color when using Dark theme
This commit is contained in:
Marius Stanciu
2020-05-11 22:56:06 +03:00
committed by Marius
parent 3c0ee97c61
commit 40c52455e1
7 changed files with 24 additions and 106 deletions

View File

@@ -58,7 +58,7 @@ class PlotCanvas(QtCore.QObject, VisPyCanvas):
self.text_hud_color = 'black'
else:
self.line_color = (0.4, 0.4, 0.4, 1.0)
self.rect_hud_color = Color('#0000FF10')
self.rect_hud_color = Color('#80808040')
self.text_hud_color = 'white'
# workspace lines; I didn't use the rectangle because I didn't want to add another VisPy Node,