Zooming with camera makes the drag and drop not responsive

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By MoonDuck

if you need to see how it looks like. I made a recording here:

The Code
below


func get_drag_data(_pos):
# Use another colorpicker as drag preview
var cpb = ColorPickerButton.new()
cpb.color = color
cpb.rect_size = Vector2(50, 50)
set_drag_preview(cpb)
# Return color as drag data
return color

func can_drop_data(_pos, data):
return typeof(data) == TYPE_COLOR

func drop_data(_pos, data):
color = data


Does anyone have a good guess on how to fix this?
Thanks :slight_smile: