1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Fix alpha lock having the same shortcut as pixel perfect

This commit is contained in:
Emmanouil Papadeas 2024-06-01 00:49:01 +03:00
parent d8a17abd1d
commit e1a53ed905
3 changed files with 6 additions and 1 deletions

View file

@ -875,6 +875,10 @@ right_curvetool_tool={
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":true,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":74,"physical_keycode":0,"key_label":0,"unicode":106,"echo":false,"script":null)
]
}
alpha_lock={
"deadzone": 0.5,
"events": []
}
[input_devices]

View file

@ -786,6 +786,7 @@ func _initialize_keychain() -> void:
"horizontal_mirror": Keychain.InputAction.new("", "Buttons"),
"vertical_mirror": Keychain.InputAction.new("", "Buttons"),
"pixel_perfect": Keychain.InputAction.new("", "Buttons"),
"alpha_lock": Keychain.InputAction.new("", "Buttons"),
"new_layer": Keychain.InputAction.new("", "Buttons"),
"remove_layer": Keychain.InputAction.new("", "Buttons"),
"move_layer_up": Keychain.InputAction.new("", "Buttons"),

View file

@ -23,7 +23,7 @@ action = &"vertical_mirror"
events = [SubResource("InputEventAction_24etr")]
[sub_resource type="InputEventAction" id="InputEventAction_ebgk6"]
action = &"pixel_perfect"
action = &"alpha_lock"
[sub_resource type="Shortcut" id="Shortcut_vcyug"]
events = [SubResource("InputEventAction_ebgk6")]