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