From bc227ee904dcd734e677a32912c6a501e224ceca Mon Sep 17 00:00:00 2001 From: osquallo Date: Fri, 3 Aug 2018 15:02:51 +0200 Subject: [PATCH] =?UTF-8?q?suppression=20de=20print=20de=20debug=20oubli?= =?UTF-8?q?=C3=A9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scenes/GUI/Help/Help.gd | 2 -- scenes/GUI/Help/Help.tscn | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/scenes/GUI/Help/Help.gd b/scenes/GUI/Help/Help.gd index 5ffa316..bc3c61a 100644 --- a/scenes/GUI/Help/Help.gd +++ b/scenes/GUI/Help/Help.gd @@ -17,7 +17,6 @@ func _on_Refresh_pressed(): var event_index = 0 for event in InputMap.get_action_list( action_name ): if event is InputEventKey: - print("key: "+str(action_name+str(event_index))) if get_node( "ScrollContainer/MarginContainer/VBoxContainer" ).has_node( action_name+str(event_index) ): get_node( "ScrollContainer/MarginContainer/VBoxContainer" ).remove_child( get_node( "ScrollContainer/MarginContainer/VBoxContainer" ).get_node( action_name+str(event_index) ) ) @@ -27,7 +26,6 @@ func _on_Refresh_pressed(): $ScrollContainer/MarginContainer/VBoxContainer.add_child( label ) label.set_owner( $ScrollContainer/MarginContainer/VBoxContainer ) elif event is InputEventJoypadButton: - print("joy: "+str(action_name+str(event_index))) if get_node( "ScrollContainer/MarginContainer/VBoxContainer" ).has_node( action_name+str(event_index) ): get_node( "ScrollContainer/MarginContainer/VBoxContainer" ).remove_child( get_node( "ScrollContainer/MarginContainer/VBoxContainer" ).get_node( action_name+str(event_index) ) ) diff --git a/scenes/GUI/Help/Help.tscn b/scenes/GUI/Help/Help.tscn index 54e0795..7bd2672 100644 --- a/scenes/GUI/Help/Help.tscn +++ b/scenes/GUI/Help/Help.tscn @@ -74,7 +74,7 @@ scroll_vertical = 0 scroll_deadzone = 0 _sections_unfolded = [ "Rect", "Size Flags" ] -[node name="MarginContainer" type="MarginContainer" parent="ScrollContainer" index="2"] +[node name="MarginContainer" type="MarginContainer" parent="ScrollContainer" index="0"] anchor_left = 0.0 anchor_top = 0.0