summaryrefslogtreecommitdiff
path: root/editor/animation_track_editor.h
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-01-23 13:49:53 +0100
committerkobewi <kobewi4e@gmail.com>2022-01-23 13:49:53 +0100
commit98692d68c3e7f3cc2a4697edfc827703b5018c36 (patch)
tree9a02bccbae4ef082325801a6a4264e94f93fa7a6 /editor/animation_track_editor.h
parentc3d28ffa742298d7e00d0a08251ae97870e3ad88 (diff)
Minor tweaks and fixes to panning
Diffstat (limited to 'editor/animation_track_editor.h')
-rw-r--r--editor/animation_track_editor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/animation_track_editor.h b/editor/animation_track_editor.h
index c33cabb9c0..50c5c692c0 100644
--- a/editor/animation_track_editor.h
+++ b/editor/animation_track_editor.h
@@ -82,7 +82,7 @@ class AnimationTimelineEdit : public Range {
bool use_fps;
Ref<ViewPanner> panner;
- void _scroll_callback(Vector2 p_scroll_vec);
+ void _scroll_callback(Vector2 p_scroll_vec, bool p_alt);
void _pan_callback(Vector2 p_scroll_vec);
void _zoom_callback(Vector2 p_scroll_vec, Vector2 p_origin, bool p_alt);
@@ -316,7 +316,7 @@ class AnimationTrackEditor : public VBoxContainer {
void _update_tracks();
void _name_limit_changed();
- void _timeline_changed(float p_new_pos, bool p_drag, bool p_timeline_only = false);
+ void _timeline_changed(float p_new_pos, bool p_drag, bool p_timeline_only);
void _track_remove_request(int p_track);
void _track_grab_focus(int p_track);
@@ -377,7 +377,7 @@ class AnimationTrackEditor : public VBoxContainer {
PropertyInfo _find_hint_for_track(int p_idx, NodePath &r_base_path, Variant *r_current_val = nullptr);
Ref<ViewPanner> panner;
- void _scroll_callback(Vector2 p_scroll_vec);
+ void _scroll_callback(Vector2 p_scroll_vec, bool p_alt);
void _pan_callback(Vector2 p_scroll_vec);
void _zoom_callback(Vector2 p_scroll_vec, Vector2 p_origin, bool p_alt);