Merge pull request #28150 from homer666/animationplayer-snap-mode-disable
Fix AnimationPlayer snap mode dropdown behaviour
This commit is contained in:
commit
8f6e548ab0
1 changed files with 2 additions and 2 deletions
|
@ -2540,7 +2540,7 @@ void AnimationTrackEditor::set_animation(const Ref<Animation> &p_anim) {
|
|||
step->set_block_signals(false);
|
||||
step->set_read_only(false);
|
||||
snap->set_disabled(false);
|
||||
snap_mode->set_disabled(true);
|
||||
snap_mode->set_disabled(false);
|
||||
} else {
|
||||
hscroll->hide();
|
||||
edit->set_disabled(true);
|
||||
|
@ -2549,7 +2549,7 @@ void AnimationTrackEditor::set_animation(const Ref<Animation> &p_anim) {
|
|||
step->set_block_signals(false);
|
||||
step->set_read_only(true);
|
||||
snap->set_disabled(true);
|
||||
snap_mode->set_disabled(false);
|
||||
snap_mode->set_disabled(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue