Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions game/addons/keychain/ShortcutEdit.gd
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ func _on_shortcut_tree_item_selected() -> void:
if not Keychain.actions.has(action):
mouse_movement_options.visible = false
return
var keychain_action := Keychain.actions[action]
var keychain_action: Keychain.InputAction = Keychain.actions[action]
if keychain_action is Keychain.MouseMovementInputAction:
mouse_movement_options.visible = true
currently_editing_mouse_movement_action = keychain_action
Expand Down Expand Up @@ -463,7 +463,7 @@ func _on_mouse_movement_angle_changed(button: BaseButton) -> void:


func _press_mouse_movement_angle_button() -> void:
var dir := currently_editing_mouse_movement_action.mouse_dir
var dir: Vector2 = currently_editing_mouse_movement_action.mouse_dir
match dir:
Vector2(-1, -1):
mm_top_left.button_pressed = true
Expand Down
Loading