mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Enhance null checking for input event
This commit is contained in:
@@ -2402,6 +2402,8 @@ void TextEdit::_get_minimap_mouse_row(const Point2i &p_mouse, int &r_row) const
|
||||
}
|
||||
|
||||
void TextEdit::_gui_input(const Ref<InputEvent> &p_gui_input) {
|
||||
ERR_FAIL_COND(p_gui_input.is_null());
|
||||
|
||||
double prev_v_scroll = v_scroll->get_value();
|
||||
double prev_h_scroll = h_scroll->get_value();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user