summaryrefslogtreecommitdiff
path: root/scene/2d/screen_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/screen_button.h')
-rw-r--r--scene/2d/screen_button.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/scene/2d/screen_button.h b/scene/2d/screen_button.h
index 0cfaf681dd..e44f556c31 100644
--- a/scene/2d/screen_button.h
+++ b/scene/2d/screen_button.h
@@ -58,11 +58,10 @@ private:
StringName action;
bool passby_press;
int finger_pressed;
- int action_id;
VisibilityMode visibility;
- void _input(const InputEvent &p_Event);
+ void _input(const Ref<InputEvent> &p_Event);
void _press(int p_finger_pressed);
void _release(bool p_exiting_tree = false);