feat: collection context menu
This commit is contained in:
parent
7195ae9da5
commit
a47a818f8b
5 changed files with 38 additions and 4 deletions
|
|
@ -22,7 +22,8 @@ func _process(delta: float) -> void:
|
|||
pass
|
||||
|
||||
func _on_index_pressed(index:int) -> void:
|
||||
print(index)
|
||||
if instantiated_menu != null:
|
||||
return
|
||||
if index == 0:
|
||||
instantiated_menu = edit_menu.instantiate()
|
||||
add_child(instantiated_menu)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue