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:
parent
d8a17abd1d
commit
e1a53ed905
|
@ -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)
|
"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]
|
[input_devices]
|
||||||
|
|
||||||
|
|
|
@ -786,6 +786,7 @@ func _initialize_keychain() -> void:
|
||||||
"horizontal_mirror": Keychain.InputAction.new("", "Buttons"),
|
"horizontal_mirror": Keychain.InputAction.new("", "Buttons"),
|
||||||
"vertical_mirror": Keychain.InputAction.new("", "Buttons"),
|
"vertical_mirror": Keychain.InputAction.new("", "Buttons"),
|
||||||
"pixel_perfect": Keychain.InputAction.new("", "Buttons"),
|
"pixel_perfect": Keychain.InputAction.new("", "Buttons"),
|
||||||
|
"alpha_lock": Keychain.InputAction.new("", "Buttons"),
|
||||||
"new_layer": Keychain.InputAction.new("", "Buttons"),
|
"new_layer": Keychain.InputAction.new("", "Buttons"),
|
||||||
"remove_layer": Keychain.InputAction.new("", "Buttons"),
|
"remove_layer": Keychain.InputAction.new("", "Buttons"),
|
||||||
"move_layer_up": Keychain.InputAction.new("", "Buttons"),
|
"move_layer_up": Keychain.InputAction.new("", "Buttons"),
|
||||||
|
|
|
@ -23,7 +23,7 @@ action = &"vertical_mirror"
|
||||||
events = [SubResource("InputEventAction_24etr")]
|
events = [SubResource("InputEventAction_24etr")]
|
||||||
|
|
||||||
[sub_resource type="InputEventAction" id="InputEventAction_ebgk6"]
|
[sub_resource type="InputEventAction" id="InputEventAction_ebgk6"]
|
||||||
action = &"pixel_perfect"
|
action = &"alpha_lock"
|
||||||
|
|
||||||
[sub_resource type="Shortcut" id="Shortcut_vcyug"]
|
[sub_resource type="Shortcut" id="Shortcut_vcyug"]
|
||||||
events = [SubResource("InputEventAction_ebgk6")]
|
events = [SubResource("InputEventAction_ebgk6")]
|
||||||
|
|
Loading…
Reference in a new issue