diff options
author | emild <emil.dobetsberger@gmail.com> | 2024-02-18 14:04:26 +0100 |
---|---|---|
committer | emild <emil.dobetsberger@gmail.com> | 2024-03-18 11:21:12 +0100 |
commit | d88df641eec1fcc246f078827a94bfbebcaf5dff (patch) | |
tree | c1ad9c4344844158524d1fb2f6e5c2bdf04e280c /editor/animation_track_editor.h | |
parent | 25a52c624e65cc8006d4ff8a153490d8836e4175 (diff) | |
download | redot-engine-d88df641eec1fcc246f078827a94bfbebcaf5dff.tar.gz |
Fix snapping multiple keys in Animation
Diffstat (limited to 'editor/animation_track_editor.h')
-rw-r--r-- | editor/animation_track_editor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/animation_track_editor.h b/editor/animation_track_editor.h index 0d6f93fefc..d7fddc95da 100644 --- a/editor/animation_track_editor.h +++ b/editor/animation_track_editor.h @@ -286,9 +286,11 @@ class AnimationTrackEdit : public Control { mutable int dropping_at = 0; float insert_at_pos = 0.0f; bool moving_selection_attempt = false; + bool moving_selection_effective = false; + float moving_selection_pivot = 0.0f; + float moving_selection_mouse_begin_x = 0.0f; int select_single_attempt = -1; bool moving_selection = false; - float moving_selection_from_ofs = 0.0f; bool in_group = false; AnimationTrackEditor *editor = nullptr; |