Skip to content

Commit 83ba124

Browse files
committed
change to the button modifier, and rename of bool accordingly (Godot #65241)
1 parent 39fb488 commit 83ba124

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

addons/dialogic/Editor/VisualEditor/VisualEditor.gd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,10 +496,10 @@ func _input(event):
496496
get_viewport().set_input_as_handled()
497497

498498
# helper to make the above methods shorter
499-
func is_event_pressed(event, keycode, alt:bool, shift:bool, ctrl_or_command:bool):
499+
func is_event_pressed(event, keycode, alt:bool, shift:bool, ctrl_or_meta:bool):
500500
return (event.pressed and event.alt_pressed == alt
501501
and event.shift_pressed == shift
502-
and (event.ctrl_pressed or event.command_pressed ) == ctrl_or_command
502+
and (event.ctrl_pressed or event.meta_pressed ) == ctrl_or_meta
503503
and event.keycode == keycode
504504
and event.echo == false)
505505

0 commit comments

Comments
 (0)