You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Rename "Control" key to "Ctrl" and add "_pressed" suffix to all InputEventWithModifiers properties/methods
This commit is contained in:
@@ -1091,7 +1091,7 @@ void AnimationTrackEditTypeAudio::_gui_input(const Ref<InputEvent> &p_event) {
|
||||
|
||||
if (len_resizing && mm.is_valid()) {
|
||||
len_resizing_rel += mm->get_relative().x;
|
||||
len_resizing_start = mm->get_shift();
|
||||
len_resizing_start = mm->is_shift_pressed();
|
||||
update();
|
||||
accept_event();
|
||||
return;
|
||||
@@ -1100,7 +1100,7 @@ void AnimationTrackEditTypeAudio::_gui_input(const Ref<InputEvent> &p_event) {
|
||||
Ref<InputEventMouseButton> mb = p_event;
|
||||
if (mb.is_valid() && mb->is_pressed() && mb->get_button_index() == MOUSE_BUTTON_LEFT && get_default_cursor_shape() == CURSOR_HSIZE) {
|
||||
len_resizing = true;
|
||||
len_resizing_start = mb->get_shift();
|
||||
len_resizing_start = mb->is_shift_pressed();
|
||||
len_resizing_from_px = mb->get_position().x;
|
||||
len_resizing_rel = 0;
|
||||
update();
|
||||
|
||||
Reference in New Issue
Block a user