diff options
author | kobewi <kobewi4e@gmail.com> | 2022-01-19 19:59:12 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-01-21 18:35:06 +0100 |
commit | 74bfe88267263297b43fef35fd9f32a91750d4d2 (patch) | |
tree | 7928ce063d68c991a3a25cb1aae87683b8ded789 /editor/animation_bezier_editor.h | |
parent | 249c60e9d1aacd07d87786db8059f30aed02bb68 (diff) | |
download | redot-engine-74bfe88267263297b43fef35fd9f32a91750d4d2.tar.gz |
Add ViewPanner to 2D editor
Diffstat (limited to 'editor/animation_bezier_editor.h')
-rw-r--r-- | editor/animation_bezier_editor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/animation_bezier_editor.h b/editor/animation_bezier_editor.h index 6a5b97a7da..8af493adcb 100644 --- a/editor/animation_bezier_editor.h +++ b/editor/animation_bezier_editor.h @@ -128,7 +128,7 @@ class AnimationBezierTrackEdit : public Control { Ref<ViewPanner> panner; void _scroll_callback(Vector2 p_scroll_vec); void _pan_callback(Vector2 p_scroll_vec); - void _zoom_callback(Vector2 p_scroll_vec, Vector2 p_origin); + void _zoom_callback(Vector2 p_scroll_vec, Vector2 p_origin, bool p_alt); void _draw_line_clipped(const Vector2 &p_from, const Vector2 &p_to, const Color &p_color, int p_clip_left, int p_clip_right); void _draw_track(int p_track, const Color &p_color); |