Merge pull request #73470 from Sauermann/fix-touch-screen-button-emulated
Remove device-id restriction from `TouchScreenButton` input events
This commit is contained in:
commit
da11c59918
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue