Browse Source

Fix timeline cursor not updating on zoom change in the Bezier editor

Michael Alexsander 5 năm trước cách đây
mục cha
commit
eee9d053a3
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      editor/animation_bezier_editor.cpp

+ 1 - 0
editor/animation_bezier_editor.cpp

@@ -559,6 +559,7 @@ void AnimationBezierTrackEdit::set_root(Node *p_root) {
 
 void AnimationBezierTrackEdit::_zoom_changed() {
 	update();
+	play_position->update();
 }
 
 String AnimationBezierTrackEdit::get_tooltip(const Point2 &p_pos) const {