diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/scrollpane.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/scrollpane.cc b/src/ui/scrollpane.cc index 463956d..38260e0 100644 --- a/src/ui/scrollpane.cc +++ b/src/ui/scrollpane.cc @@ -17,6 +17,7 @@ ScrollPane::ScrollPane(Widget *parent, ui::Text &text) : Widget(parent), scrollp { set_label("scrollpane"); set_alignment(AlignBottom); + scrollpane_scroll = 0; } ScrollPane::~ScrollPane() |