Fix key is deselected by chaning key time in KeyEdit in FPS mode

This commit is contained in:
Silc Lizard (Tokage) Renew 2024-11-16 23:48:10 +09:00
parent 5efd124ca1
commit 602c5edbc4

View File

@ -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()) {