- fixed some leftovers due of recent changes in the theme management
- added a new feature (new modules are required) in the Image Plugin (Menu -> File -> Import -> Import Image) that allow tracing images. This may allow engraving pictures. - started to add UI's for the Excellon Editor Tools (really early work)
This commit is contained in:
@@ -650,7 +650,7 @@ class PlotCanvasLegacy(QtCore.QObject):
|
||||
if self.app.options["global_cursor_color_enabled"]:
|
||||
color = self.app.options["global_cursor_color"]
|
||||
else:
|
||||
if self.app.options['global_theme'] == 'light':
|
||||
if self.app.options['global_theme'] in ['default', 'light']:
|
||||
color = '#000000'
|
||||
else:
|
||||
color = '#FFFFFF'
|
||||
@@ -705,7 +705,7 @@ class PlotCanvasLegacy(QtCore.QObject):
|
||||
if color:
|
||||
color = color
|
||||
else:
|
||||
if self.app.options['global_theme'] == 'light':
|
||||
if self.app.options['global_theme'] in ['default', 'light']:
|
||||
color = '#000000'
|
||||
else:
|
||||
color = '#FFFFFF'
|
||||
@@ -748,7 +748,7 @@ class PlotCanvasLegacy(QtCore.QObject):
|
||||
self.canvas.blit(self.axes.bbox)
|
||||
|
||||
def clear_cursor(self, state):
|
||||
if self.app.options['global_theme'] == 'light':
|
||||
if self.app.options['global_theme'] in ['default', 'light']:
|
||||
color = '#000000'
|
||||
else:
|
||||
color = '#FFFFFF'
|
||||
|
||||
Reference in New Issue
Block a user