- fixed a typo in the Distance Plugin which made that the Delta Y value was always the same as Delta X value

This commit is contained in:
Marius Stanciu
2022-03-10 17:49:11 +02:00
committed by Marius
parent 7a82658b4c
commit 158dfd75c3
2 changed files with 2 additions and 1 deletions

View File

@@ -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: