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

Fix focus shortcut when in the bezier curve editor
This commit is contained in:
Rémi Verschelde 2024-07-08 11:48:26 +02:00
commit 50db553ed5
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

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