Big fixes
This commit is contained in:
@@ -45,13 +45,13 @@ func start_drag(item: Dictionary, source_type: String, source_slot: int):
|
||||
"source_type": source_type,
|
||||
"source_slot": source_slot
|
||||
}
|
||||
|
||||
|
||||
if drag_preview:
|
||||
var label = drag_preview.get_node_or_null("Label")
|
||||
if label:
|
||||
label.text = item.get("name", "Item")
|
||||
drag_preview.visible = true
|
||||
|
||||
|
||||
drag_started.emit(drag_data)
|
||||
|
||||
func end_drag():
|
||||
|
||||
Reference in New Issue
Block a user