1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

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

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) {