From 5bcef468fd8b78121fb1358f30badac3bdf8588c Mon Sep 17 00:00:00 2001 From: Jerome St-Louis Date: Wed, 11 Mar 2015 22:47:14 -0400 Subject: [PATCH] ecere/gui/controls/ListBox: Fixed remaining issue caused by moving fix --- ecere/src/gui/controls/ListBox.ec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecere/src/gui/controls/ListBox.ec b/ecere/src/gui/controls/ListBox.ec index 0532d68..e35a3a6 100644 --- a/ecere/src/gui/controls/ListBox.ec +++ b/ecere/src/gui/controls/ListBox.ec @@ -3237,7 +3237,7 @@ private: // This must be done after the scrolling took place rowIndex = firstRowShown ? firstRowShown.index : -1; y = Max(y, 0); - y = Min(y, clientSize.h-rowHeight-1); + y = Min(y, clientSize.h - ((dragRow && style.moveRows) ? rowHeight : 0)-1); for(row = firstRowShown; row; row = nextRow, rowIndex ++) { nextRow = row.GetNextRow(); -- 1.8.3.1