Make animation length control respect read-only rules.
This commit is contained in:
parent
8c7b98d452
commit
919df3ac0e
@ -1522,6 +1522,8 @@ void AnimationTimelineEdit::set_animation(const Ref<Animation> &p_animation, boo
|
|||||||
animation = p_animation;
|
animation = p_animation;
|
||||||
read_only = p_read_only;
|
read_only = p_read_only;
|
||||||
|
|
||||||
|
length->set_read_only(read_only);
|
||||||
|
|
||||||
if (animation.is_valid()) {
|
if (animation.is_valid()) {
|
||||||
len_hb->show();
|
len_hb->show();
|
||||||
if (read_only) {
|
if (read_only) {
|
||||||
|
Loading…
Reference in New Issue
Block a user