diff options
| author | Juan Linietsky | 2017-01-08 19:54:19 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-08 19:54:19 -0300 |
| commit | 94ee7798ced5bc79196c971921c3109e299f8306 (patch) | |
| tree | e74a933ee4879a742f90aead5fb1001c6531d07a /scene/gui/line_edit.cpp | |
| parent | 4fd464a4c5fc83c34377450935671b7be868333c (diff) | |
| download | godot-94ee7798ced5bc79196c971921c3109e299f8306.tar.gz godot-94ee7798ced5bc79196c971921c3109e299f8306.tar.zst godot-94ee7798ced5bc79196c971921c3109e299f8306.zip | |
-removed stop mouse and ignore mouse from control, which were confusing, replaced by mouse filter
Diffstat (limited to 'scene/gui/line_edit.cpp')
| -rw-r--r-- | scene/gui/line_edit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp index 30c04608e..e75785b1f 100644 --- a/scene/gui/line_edit.cpp +++ b/scene/gui/line_edit.cpp @@ -1341,7 +1341,7 @@ LineEdit::LineEdit() { set_focus_mode( FOCUS_ALL ); editable=true; set_default_cursor_shape(CURSOR_IBEAM); - set_stop_mouse(true); + set_mouse_filter(MOUSE_FILTER_STOP); draw_caret=true; caret_blink_enabled=false; |
