You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Merge pull request #49719 from LightningAA/rename-node-is-ancestor-of
Rename `is_a_parent_of()` to `is_ancestor_of()`
This commit is contained in:
@@ -1241,7 +1241,7 @@ bool CanvasItemEditor::_gui_input_zoom_or_pan(const Ref<InputEvent> &p_event, bo
|
||||
|
||||
Ref<InputEventPanGesture> pan_gesture = p_event;
|
||||
if (pan_gesture.is_valid() && !p_already_accepted) {
|
||||
// If control key pressed, then zoom instead of pan
|
||||
// If ctrl key pressed, then zoom instead of pan.
|
||||
if (pan_gesture->is_ctrl_pressed()) {
|
||||
const float factor = pan_gesture->get_delta().y;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user