Skip to content

Commit

Permalink
Merge pull request #76865 from jmb462/multicarets_selection_popup
Browse files Browse the repository at this point in the history
Fix regression with right click on main selection
  • Loading branch information
akien-mga authored May 8, 2023
2 parents cf8ad12 + d59cdb8 commit 6980b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/plugins/script_text_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6980b2b

Please sign in to comment.