diff --git a/CHANGELOG.md b/CHANGELOG.md index 451ce2c5..852a7dac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,11 +11,13 @@ CHANGELOG for FlatCAM Evo beta - a minor fix in the Plotcanvas() class - fixed the OR-tools path optimization (it required now a cast to int when creating the distances' matrix) +- in Distance Plugin made sure that the grid snapping restore is working properly (previously it always restored it to the ON state) +- the HUD display is no longer default active on new installations 29.03.2022 - added ability to change the mouse cursor color on the fly -- in Distance Plugin made sure that the 'big cursor' (when is used) is black in color (visible in most situations) +- in Distance Plugin made sure that the 'big cursor' (when is used) is black (visible in most situations) - in Distance Plugin, for the 2D graphic mode activated the utility line - in Distance Plugin, fixed the `Snap to center` feature to work as intended diff --git a/appPlugins/ToolDistance.py b/appPlugins/ToolDistance.py index 794b5a80..3a06a811 100644 --- a/appPlugins/ToolDistance.py +++ b/appPlugins/ToolDistance.py @@ -184,8 +184,7 @@ class Distance(AppTool): self.app.ui.grid_snap_btn.trigger() self.app.ui.grid_snap_btn.trigger() - if self.app.ui.grid_snap_btn.isChecked(): - self.grid_status_memory = True + self.grid_status_memory = True if self.app.ui.grid_snap_btn.isChecked() else False # initial view of the layout self.initial_view() @@ -337,8 +336,7 @@ class Distance(AppTool): self.app.plotcanvas.cursor_color = self.cursor_color_memory # restore the grid status - if (self.app.ui.grid_snap_btn.isChecked() and self.grid_status_memory is False) or \ - (not self.app.ui.grid_snap_btn.isChecked() and self.grid_status_memory is True): + if self.app.ui.grid_snap_btn.isChecked() != self.grid_status_memory: self.app.ui.grid_snap_btn.trigger() if self.tool_done is False: diff --git a/defaults.py b/defaults.py index 2617aa26..30842e64 100644 --- a/defaults.py +++ b/defaults.py @@ -140,7 +140,7 @@ class AppDefaults: "global_workspace_orientation": 'p', "global_axis": True, "global_axis_color": '#B34D4D', - "global_hud": True, + "global_hud": False, "global_grid_lines": True, "global_grid_snap": True,