Merge pull request #49310 from foxydevloper/add-drag-threshold-select-mode
Prevent accidental drags by adding drag distance threshold
This commit is contained in:
commit
9f8d892e4e
4 changed files with 36 additions and 15 deletions
|
|
@ -387,6 +387,7 @@ private:
|
|||
Vector3 orig_gizmo_pos;
|
||||
int edited_gizmo = 0;
|
||||
Point2 mouse_pos;
|
||||
Point2 original_mouse_pos;
|
||||
bool snap = false;
|
||||
Ref<EditorNode3DGizmo> gizmo;
|
||||
int gizmo_handle = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue