From 3da104e06a34f0ae876d651f9577605c3fb06ab9 Mon Sep 17 00:00:00 2001 From: rinevard Date: Thu, 19 Mar 2026 22:18:41 +0800 Subject: [PATCH] Fix timeline cursor following mouse during marker selection (cherry picked from commit ffb697f9671d578d92d21cb3733b649088a42f2c) --- editor/animation/animation_track_editor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/animation/animation_track_editor.cpp b/editor/animation/animation_track_editor.cpp index 47503d06ad..aca00dca5b 100644 --- a/editor/animation/animation_track_editor.cpp +++ b/editor/animation/animation_track_editor.cpp @@ -9092,6 +9092,7 @@ void AnimationMarkerEdit::gui_input(const Ref &p_event) { float offset = (pos.x - timeline->get_name_limit()) / timeline->get_zoom_scale(); if (!read_only) { bool selected = _try_select_at_ui_pos(pos, mb->is_command_or_control_pressed() || mb->is_shift_pressed(), false); + moving_selection_attempt = false; menu->clear(); menu->add_icon_item(get_editor_theme_icon(SNAME("Key")), TTR("Insert Marker..."), MENU_KEY_INSERT);