Merge pull request #73470 from Sauermann/fix-touch-screen-button-emulated

Remove device-id restriction from `TouchScreenButton` input events
This commit is contained in:
Yuri Sizov 2023-02-17 16:00:34 +03:00 committed by GitHub
commit da11c59918
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -194,10 +194,6 @@ void TouchScreenButton::input(const Ref<InputEvent> &p_event) {
return;
}
if (p_event->get_device() != 0) {
return;
}
const InputEventScreenTouch *st = Object::cast_to<InputEventScreenTouch>(*p_event);
if (passby_press) {