瀏覽代碼

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

Michael Alexsander 5 年之前
父節點
當前提交
eee9d053a3
共有 1 個文件被更改,包括 1 次插入0 次删除
  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 {