fix touching devices menu

This commit is contained in:
Nitwel 2024-04-25 16:31:55 +02:00
parent 96a42dcb8a
commit 8441eac8f2

View File

@ -38,7 +38,7 @@ func _ready():
var button_instance=ButtonScene.instantiate() var button_instance=ButtonScene.instantiate()
button_instance.label=info["name"] button_instance.label=info["name"]
button_instance.font_size=8 button_instance.font_size=8
button_instance.on_button_down.connect(func(): button_instance.on_button_up.connect(func():
on_select_device.emit(device.keys()[0]) on_select_device.emit(device.keys()[0])
) )
grid_container.add_child(button_instance) grid_container.add_child(button_instance)