mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 19:42:43 +00:00
Fix key is deselected by chaning key time in KeyEdit in FPS mode
This commit is contained in:
parent
5efd124ca1
commit
602c5edbc4
@ -7364,7 +7364,6 @@ void AnimationTrackEditor::_update_snap_unit() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (timeline->is_using_fps()) {
|
if (timeline->is_using_fps()) {
|
||||||
_clear_selection(true); // Needs to recreate a spinbox of the KeyEdit.
|
|
||||||
snap_unit = 1.0 / step->get_value();
|
snap_unit = 1.0 / step->get_value();
|
||||||
} else {
|
} else {
|
||||||
if (fps_compat->is_pressed()) {
|
if (fps_compat->is_pressed()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user