- added properties for the mouse position and mouse clicked position (and setters) and cleaned up the code regarding this data

This commit is contained in:
Marius Stanciu
2022-05-21 02:13:47 +03:00
committed by Marius
parent 61325b7b5f
commit bfb3aa4118
7 changed files with 85 additions and 72 deletions

View File

@@ -532,7 +532,7 @@ class DblSidedTool(AppTool):
def on_point_add(self):
val = self.app.options["global_point_clipboard_format"] % \
(self.decimals, self.app.pos[0], self.decimals, self.app.pos[1])
(self.decimals, self.app.mouse_click_pos[0], self.decimals, self.app.mouse_click_pos[1])
self.ui.point_entry.set_value(val)
def on_drill_delete_last(self):