From c0ff26db13038ab38a279e5835c4b15f6e8586c1 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Thu, 19 May 2022 15:36:22 +0300 Subject: [PATCH] - fixed the Move Plugin to use the new setting of outline for the selection shape --- CHANGELOG.md | 1 + appPlugins/ToolMove.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 45130185..058efe49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ CHANGELOG for FlatCAM Evo beta 19.05.2022 - added a new setting that control the selection shape creation, in the Preferences. If the checkbox Selection Outline is checked then the selection shape is only an outline. +- fixed the Move Plugin to use the new setting of outline for the selection shape 18.05.2022 diff --git a/appPlugins/ToolMove.py b/appPlugins/ToolMove.py index 8b9c4f47..434534d0 100644 --- a/appPlugins/ToolMove.py +++ b/appPlugins/ToolMove.py @@ -340,6 +340,9 @@ class ToolMove(AppTool): # face = Color('blue') # face.alpha = 0.2 + if self.app.options['global_selection_shape_as_line'] is True: + proc_shape = proc_shape.exterior + face = '#0000FF' + str(hex(int(0.2 * 255)))[2:] outline = '#0000FFAF'