mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 15:34:43 -04:00
Fixed shadowed variables crashes/warnings occurring in Godot 3.2.2-rc1
This commit is contained in:
parent
e6aea97f1b
commit
8064d7b459
5 changed files with 15 additions and 15 deletions
|
@ -78,8 +78,8 @@ func _on_PresetOptionButton_item_selected(id : int) -> void:
|
|||
|
||||
func apply_shortcuts_preset(preset) -> void:
|
||||
for action in preset:
|
||||
var old_input_event : InputEventKey = InputMap.get_action_list(action)[0]
|
||||
set_action_shortcut(action, old_input_event, preset[action])
|
||||
var _old_input_event : InputEventKey = InputMap.get_action_list(action)[0]
|
||||
set_action_shortcut(action, _old_input_event, preset[action])
|
||||
get_node("Shortcuts/" + action).text = OS.get_scancode_string(preset[action].get_scancode_with_modifiers())
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue