Remove dead code from Viewport::_gui_input_event

This commit is contained in:
Pip 2021-09-06 03:11:02 -04:00 committed by GitHub
parent c6f6c05a52
commit d7a6f8990a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1420,13 +1420,6 @@ void Viewport::_gui_input_event(Ref<InputEvent> p_event) {
//do not steal mouse focus and stuff while a focus mask exists
gui.mouse_focus_mask |= 1 << (mb->get_button_index() - 1); //add the button to the mask
} else {
bool is_handled = false;
if (is_handled) {
set_input_as_handled();
return;
}
//Matrix32 parent_xform;
/*