Implement precise snapping in the animation editor

Holding Shift while snapping is enabled will now make snapping
4 times as precise.
This commit is contained in:
Hugo Locurcio 2019-09-02 15:49:55 +02:00
parent 7e731bbce2
commit 55b9c6804c
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
2 changed files with 16 additions and 2 deletions

View file

@ -161,6 +161,7 @@ class AnimationPlayerEditor : public VBoxContainer {
} onion;
void _select_anim_by_name(const String &p_anim);
double _get_editor_step() const;
void _play_pressed();
void _play_from_pressed();
void _play_bw_pressed();