mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-18 06:26:16 +00:00
Fix crashes in *_input functions
This commit is contained in:
@@ -72,6 +72,8 @@ int TabContainer::_get_top_margin() const {
|
||||
}
|
||||
|
||||
void TabContainer::_gui_input(const Ref<InputEvent> &p_event) {
|
||||
ERR_FAIL_COND(p_event.is_null());
|
||||
|
||||
Ref<InputEventMouseButton> mb = p_event;
|
||||
|
||||
Popup *popup = get_popup();
|
||||
|
||||
Reference in New Issue
Block a user