summaryrefslogtreecommitdiff
path: root/scene/2d
diff options
context:
space:
mode:
authorYuri Sizov <11782833+YuriSizov@users.noreply.github.com>2023-02-17 16:00:34 +0300
committerGitHub <noreply@github.com>2023-02-17 16:00:34 +0300
commitda11c59918721ab44e8986ce47ab3d65764c4e28 (patch)
treeaaf13e26b388dd1c08ba022c1acb6ec2c8029c1e /scene/2d
parente80e21b5e8bfb0af04b5d87bfdfc67ffe95121ac (diff)
parent699608804f8895bbb1c2b85ccc326368842614c6 (diff)
Merge pull request #73470 from Sauermann/fix-touch-screen-button-emulated
Remove device-id restriction from `TouchScreenButton` input events
Diffstat (limited to 'scene/2d')
-rw-r--r--scene/2d/touch_screen_button.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/scene/2d/touch_screen_button.cpp b/scene/2d/touch_screen_button.cpp
index 54ed96f585..1c2903fe22 100644
--- a/scene/2d/touch_screen_button.cpp
+++ b/scene/2d/touch_screen_button.cpp
@@ -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) {