浏览代码

Merge pull request #94054 from mihe/fix-bezier-focus

Fix focus shortcut when in the bezier curve editor
Rémi Verschelde 1 年之前
父节点
当前提交
50db553ed5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/animation_bezier_editor.cpp

+ 1 - 1
editor/animation_bezier_editor.cpp

@@ -965,7 +965,7 @@ void AnimationBezierTrackEdit::gui_input(const Ref<InputEvent> &p_event) {
 			real_t minimum_value = INFINITY;
 			real_t maximum_value = -INFINITY;
 
-			for (const IntPair &E : selection) {
+			for (const IntPair &E : focused_keys) {
 				IntPair key_pair = E;
 
 				real_t time = animation->track_get_key_time(key_pair.first, key_pair.second);