浏览代码

Merge pull request #40067 from YeldhamDev/anim_bezier_timeline_zoom

Fix timeline cursor not updating on zoom change in the Bezier editor
Rémi Verschelde 5 年之前
父节点
当前提交
c284ff1316
共有 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 {