mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 19:42:43 +00:00
Merge pull request #99319 from TokageItLab/fix-fps-inspector
Fix key is deselected by changing key time in KeyEdit in FPS mode
This commit is contained in:
commit
b11bb1aa97
@ -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