summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/Scrollbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGUI/Scrollbar.h')
-rw-r--r--Userland/Libraries/LibGUI/Scrollbar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/Scrollbar.h b/Userland/Libraries/LibGUI/Scrollbar.h
index e5b99185e7..0f6115055c 100644
--- a/Userland/Libraries/LibGUI/Scrollbar.h
+++ b/Userland/Libraries/LibGUI/Scrollbar.h
@@ -30,7 +30,7 @@ public:
void set_scroll_animation(Animation scroll_animation);
- virtual void set_value(int, AllowCallback = AllowCallback::Yes) override;
+ virtual void set_value(int, AllowCallback = AllowCallback::Yes, DoClamp = DoClamp::Yes) override;
void set_target_value(int);
virtual void increase_slider_by(int delta) override { set_target_value(m_target_value + delta); }