From 14efe0fc34c540fa1cd9ad1be891b82716503a17 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Thu, 28 Nov 2019 00:18:10 +0200 Subject: [PATCH] - adjusted the selection color transparency for the Legacy(2D) graphic mode because it was too transparent for the fill --- FlatCAMApp.py | 8 ++++++-- README.md | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/FlatCAMApp.py b/FlatCAMApp.py index 36664e54..c54b1ff6 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -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, diff --git a/README.md b/README.md index 3fd7ae80..69ae9fa1 100644 --- a/README.md +++ b/README.md @@ -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