diff options
Diffstat (limited to 'scene/gui/scroll_bar.h')
-rw-r--r-- | scene/gui/scroll_bar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/scroll_bar.h b/scene/gui/scroll_bar.h index 6ae76e453a..75f5ad1647 100644 --- a/scene/gui/scroll_bar.h +++ b/scene/gui/scroll_bar.h @@ -53,8 +53,8 @@ class ScrollBar : public Range { struct Drag { bool active = false; - float pos_at_click; - float value_at_click; + float pos_at_click = 0; + float value_at_click = 0; } drag; double get_grabber_size() const; |