- adjusted the selection color transparency for the Legacy(2D) graphic mode because it was too transparent for the fill

This commit is contained in:
Marius Stanciu 2019-11-28 00:18:10 +02:00 committed by Marius
parent 599cfb8d51
commit 14efe0fc34
2 changed files with 7 additions and 2 deletions

View File

@ -8786,8 +8786,12 @@ class App(QtCore.QObject):
face = color[:-2] + str(hex(int(0.2 * 255)))[2:]
outline = color[:-2] + str(hex(int(0.8 * 255)))[2:]
else:
face = self.defaults['global_sel_fill'][:-2] + str(hex(int(0.2 * 255)))[2:]
outline = self.defaults['global_sel_line'][:-2] + str(hex(int(0.8 * 255)))[2:]
if self.is_legacy is False:
face = self.defaults['global_sel_fill'][:-2] + str(hex(int(0.2 * 255)))[2:]
outline = self.defaults['global_sel_line'][:-2] + str(hex(int(0.8 * 255)))[2:]
else:
face = self.defaults['global_sel_fill'][:-2] + str(hex(int(0.4 * 255)))[2:]
outline = self.defaults['global_sel_line'][:-2] + str(hex(int(1.0 * 255)))[2:]
self.sel_objects_list.append(self.move_tool.sel_shapes.add(sel_rect,
color=outline,

View File

@ -15,6 +15,7 @@ CAD program, and create G-Code for Isolation routing.
- the application workspace has now a lot more options selectable in the Edit -> Preferences -> General -> GUI Preferences
- updated the drawing of the workspace such that the application overall start time is improved and after first turn on of the workspace, toggling it will have no performance penalty
- updated the workspace functions to work in Legacy(@D) graphic mode
- adjusted the selection color transparency for the Legacy(2D) graphic mode because it was too transparent for the fill
26.11.2019