You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-05 17:15:09 +00:00
Add threshold to dragging nodes with select to prevent accidental drags
This commit is contained in:
@@ -209,6 +209,7 @@ private:
|
||||
DRAG_ANCHOR_BOTTOM_RIGHT,
|
||||
DRAG_ANCHOR_BOTTOM_LEFT,
|
||||
DRAG_ANCHOR_ALL,
|
||||
DRAG_QUEUED,
|
||||
DRAG_MOVE,
|
||||
DRAG_MOVE_X,
|
||||
DRAG_MOVE_Y,
|
||||
@@ -384,6 +385,7 @@ private:
|
||||
Control *top_ruler;
|
||||
Control *left_ruler;
|
||||
|
||||
Point2 drag_start_origin;
|
||||
DragType drag_type;
|
||||
Point2 drag_from;
|
||||
Point2 drag_to;
|
||||
|
||||
Reference in New Issue
Block a user