Big fixes

This commit is contained in:
dingo
2026-01-26 17:42:23 -05:00
parent c1a97b219e
commit b434eb6031
10 changed files with 303 additions and 76 deletions
+2 -2
View File
@@ -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():