suppression de print de debug oublié.
This commit is contained in:
parent
f72dde76c5
commit
bc227ee904
2 changed files with 1 additions and 3 deletions
|
@ -17,7 +17,6 @@ func _on_Refresh_pressed():
|
||||||
var event_index = 0
|
var event_index = 0
|
||||||
for event in InputMap.get_action_list( action_name ):
|
for event in InputMap.get_action_list( action_name ):
|
||||||
if event is InputEventKey:
|
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) ):
|
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) ) )
|
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 )
|
$ScrollContainer/MarginContainer/VBoxContainer.add_child( label )
|
||||||
label.set_owner( $ScrollContainer/MarginContainer/VBoxContainer )
|
label.set_owner( $ScrollContainer/MarginContainer/VBoxContainer )
|
||||||
elif event is InputEventJoypadButton:
|
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) ):
|
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) ) )
|
get_node( "ScrollContainer/MarginContainer/VBoxContainer" ).remove_child( get_node( "ScrollContainer/MarginContainer/VBoxContainer" ).get_node( action_name+str(event_index) ) )
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,7 @@ scroll_vertical = 0
|
||||||
scroll_deadzone = 0
|
scroll_deadzone = 0
|
||||||
_sections_unfolded = [ "Rect", "Size Flags" ]
|
_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_left = 0.0
|
||||||
anchor_top = 0.0
|
anchor_top = 0.0
|
||||||
|
|
Loading…
Reference in a new issue