mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05: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