Fix TextEdit Shift+Click selection start position

This commit is contained in:
kit
2026-01-08 18:44:53 -05:00
parent c5e670f26e
commit 9813c834fa
3 changed files with 71 additions and 3 deletions

View File

@@ -459,7 +459,7 @@ void CodeEdit::gui_input(const Ref<InputEvent> &p_gui_input) {
if (line != -1) {
emit_signal(SNAME("symbol_lookup"), symbol_lookup_word, line, col);
}
return;
// Don't return here to pass event to TextEdit so it can clean up the mouse pressed state.
}
}
}