summaryrefslogtreecommitdiff
path: root/scene/gui/slider.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/slider.h')
-rw-r--r--scene/gui/slider.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/slider.h b/scene/gui/slider.h
index 65a4036cd1..46fa08bbf0 100644
--- a/scene/gui/slider.h
+++ b/scene/gui/slider.h
@@ -50,7 +50,7 @@ class Slider : public Range {
bool scrollable = true;
protected:
- void _gui_input(Ref<InputEvent> p_event);
+ virtual void gui_input(const Ref<InputEvent> &p_event) override;
void _notification(int p_what);
static void _bind_methods();
bool ticks_on_borders = false;