You've already forked godot
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user