From 42ce37facbf63ad05774276898b774c143bad214 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Sun, 26 Nov 2023 12:18:08 +0100 Subject: [PATCH] update edit menu --- content/ui/menu/edit/edit_menu.gd | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/content/ui/menu/edit/edit_menu.gd b/content/ui/menu/edit/edit_menu.gd index 8676d09..4e7def5 100644 --- a/content/ui/menu/edit/edit_menu.gd +++ b/content/ui/menu/edit/edit_menu.gd @@ -17,12 +17,11 @@ var pages = 0 var selected_device = null # Called when the node enters the scene tree for the first time. func _ready(): - next_page_button.get_node("Clickable").on_click.connect(func(_event): - print("next page") + next_page_button.on_button_down.connect(func(): next_page() ) - previous_page_button.get_node("Clickable").on_click.connect(func(_event): + previous_page_button.on_button_down.connect(func(): previous_page() )