You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Prevent accidental drags by adding drag distance threshold
Co-authored-by: fox <12120644+foxydevloper@users.noreply.github.com>
This commit is contained in:
@@ -357,6 +357,7 @@ private:
|
||||
Vector3 orig_gizmo_pos;
|
||||
int edited_gizmo;
|
||||
Point2 mouse_pos;
|
||||
Point2 original_mouse_pos;
|
||||
bool snap;
|
||||
Ref<EditorSpatialGizmo> gizmo;
|
||||
int gizmo_handle;
|
||||
|
||||
Reference in New Issue
Block a user