From a34d19e9df1f19b6e51fadb329f57f763a727ad5 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 7 Sep 2009 07:59:26 +0000 Subject: (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(+) (limited to 'src/widgets/dropdown.cpp') diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp index 04c27de88..7ab26026d 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() -- cgit v1.2.3-54-g00ecf