1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-02 19:01:36 +00:00

Fix regression with right click on main selection

This commit is contained in:
jmb462
2023-05-08 21:54:42 +02:00
committed by Jean-Michel Bernard
parent cf8ad12b56
commit d59cdb8327

View File

@@ -1819,7 +1819,7 @@ void ScriptTextEditor::_text_edit_gui_input(const Ref<InputEvent> &ev) {
}
}
}
if (!caret_clicked) {
if (caret_clicked < 0) {
tx->deselect();
tx->remove_secondary_carets();
caret_clicked = 0;