From a34d19e9df1f19b6e51fadb329f57f763a727ad5 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 7 Sep 2009 07:59:26 +0000 Subject: [PATCH] (svn r17440) -Fix [FS#3179] (r17375): long scrollbars would scroll when that was not intended. They would also not properly mark the window dirty. --- src/widgets/dropdown.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp index 04c27de888..7ab26026d7 100644 --- a/src/widgets/dropdown.cpp +++ b/src/widgets/dropdown.cpp @@ -190,6 +190,8 @@ struct DropdownWindow : Window { virtual void OnTick() { this->vscroll.UpdatePosition(this->scrolling); + this->scrolling = 0; + this->SetDirty(); } virtual void OnMouseLoop()