diff --git a/CHANGELOG.md b/CHANGELOG.md index 95ff44cf..815c6443 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ CHANGELOG for FlatCAM beta - fixed an issue when importing GCode which made the loaded GCode object un-plotable - fixed Film Plugin not using the set value in Preferences for the `skew type` - more work in Film Plugin, in the `ratio` skew feature +- fixed a typo in the Distance Plugin which made that the Delta Y value was always the same as Delta X value 9.03.2022 diff --git a/appPlugins/ToolDistance.py b/appPlugins/ToolDistance.py index 9c826d29..a71899c5 100644 --- a/appPlugins/ToolDistance.py +++ b/appPlugins/ToolDistance.py @@ -622,7 +622,7 @@ class Distance(AppTool): if dx: self.ui.distance_x_entry.set_value(str(self.app.dec_format(abs(dx), self.decimals))) if dy: - self.ui.distance_y_entry.set_value(str(self.app.dec_format(abs(dx), self.decimals))) + self.ui.distance_y_entry.set_value(str(self.app.dec_format(abs(dy), self.decimals))) def update_distance(self, pos, prev_pos=None): if prev_pos is None: