Draft: Introduce mouse delay (#12624)

* Draft: Introduce mouse delay - fixes #11807

* Draft: set default mouse delay to 1
This commit is contained in:
Yorik van Havre
2024-03-11 17:54:07 +01:00
committed by GitHub
parent d3e790cf21
commit b2f1add784
4 changed files with 297 additions and 182 deletions

View File

@@ -190,6 +190,8 @@ def get_point(target, args, noTracker=False):
returned by the `Snapper` or by the `ActiveView`.
"""
ui = Gui.draftToolBar
if not ui.mouse:
return None, None, None
if target.node:
last = target.node[-1]