Merge pull request #76865 from jmb462/multicarets_selection_popup

Fix regression with right click on main selection
This commit is contained in:
Rémi Verschelde 2023-05-08 23:01:32 +02:00 committed by GitHub
commit 6980b2bf17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;