You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
Fix LineEdit with secret checked reveals the secret when a selection is dragged
This commit is contained in:
@@ -522,7 +522,7 @@ void LineEdit::gui_input(const Ref<InputEvent> &p_event) {
|
||||
selection.drag_attempt = false;
|
||||
if (!selection.double_click) {
|
||||
bool is_inside_sel = selection.enabled && caret_column >= selection.begin && caret_column <= selection.end;
|
||||
if (drag_and_drop_selection_enabled && is_inside_sel) {
|
||||
if (!pass && drag_and_drop_selection_enabled && is_inside_sel) {
|
||||
selection.drag_attempt = true;
|
||||
} else {
|
||||
deselect();
|
||||
|
||||
Reference in New Issue
Block a user