We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CanvasLayer
Godot v4.3.stable - Ubuntu 24.04.1 LTS 24.04 - X11 - Vulkan (Forward+) - integrated Intel(R) Xe Graphics (TGL GT2) - 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 Threads)
Dragging a Control node that is located within a CanvasLayer that has an offset results in the drag preview having the same offset:
Control
TextureRect
_get_drag_data
func _get_drag_data(_at_position: Vector2) -> Variant: set_drag_preview(self.duplicate()) return self
dragndropbug.zip
The text was updated successfully, but these errors were encountered:
Reproducible in v4.0.stable.official [92bee43] Related to #67186
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Tested versions
System information
Godot v4.3.stable - Ubuntu 24.04.1 LTS 24.04 - X11 - Vulkan (Forward+) - integrated Intel(R) Xe Graphics (TGL GT2) - 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 Threads)
Issue description
Dragging a Control node that is located within a CanvasLayer that has an offset results in the drag preview having the same offset:
Steps to reproduce
CanvasLayer
node and set its offset to a non-zero valueControl
node (e.g.TextureRect
) with theCanvasLayer
as its (direct or indirect) parentControl
node and implement_get_drag_data
. E.g.:Control
node aroundMinimal reproduction project (MRP)
dragndropbug.zip
The text was updated successfully, but these errors were encountered: