You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix crashes in *_input functions
This commit is contained in:
@@ -207,6 +207,8 @@ void SplitContainer::_notification(int p_what) {
|
||||
}
|
||||
|
||||
void SplitContainer::_gui_input(const Ref<InputEvent> &p_event) {
|
||||
ERR_FAIL_COND(p_event.is_null());
|
||||
|
||||
if (collapsed || !_getch(0) || !_getch(1) || dragger_visibility != DRAGGER_VISIBLE) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user