Fix crashes in *_input functions
This commit is contained in:
parent
a864a703ee
commit
504bc5cc67
43 changed files with 103 additions and 0 deletions
|
|
@ -88,6 +88,8 @@ void ScrollContainer::_cancel_drag() {
|
|||
}
|
||||
|
||||
void ScrollContainer::_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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue