diff --git a/CHANGELOG.md b/CHANGELOG.md index af9b95e9..7c68be55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ CHANGELOG for FlatCAM Evo beta 28.03.2022 - in Distance Plugin added the ability to use a big cursor; not finished: when the grid is off it is not displayed +- in Distance Plugin finished the 'big cursor' feature 27.03.2022 diff --git a/appPlugins/ToolDistance.py b/appPlugins/ToolDistance.py index 69235244..1516cb16 100644 --- a/appPlugins/ToolDistance.py +++ b/appPlugins/ToolDistance.py @@ -188,6 +188,7 @@ class Distance(AppTool): self.initial_view() if self.ui.big_cursor_cb.get_value(): + self.app.app_cursor.enabled = True self.app.on_cursor_type(val="big", control_cursor=True) self.app.call_source = 'measurement' @@ -561,6 +562,8 @@ class Distance(AppTool): if grid_snap_state: pos = self.app.geo_editor.snap(pos_canvas[0], pos_canvas[1]) else: + if self.app.app_cursor.enabled is False: + self.app.app_cursor.enabled = True pos = (pos_canvas[0], pos_canvas[1]) # Update cursor self.app.app_cursor.set_data(np.asarray([(pos[0], pos[1])]),