Fix regression with right click on main selection
This commit is contained in:
parent
cf8ad12b56
commit
d59cdb8327
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user