Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1cd4a6
)
ecere/gui/controls/ListBox: Fixed remaining issue caused by moving fix
author
Jerome St-Louis
<jerome@ecere.com>
Thu, 12 Mar 2015 02:47:14 +0000
(22:47 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Thu, 15 Oct 2015 00:19:33 +0000
(20:19 -0400)
ecere/src/gui/controls/ListBox.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/controls/ListBox.ec
b/ecere/src/gui/controls/ListBox.ec
index
0532d68
..
e35a3a6
100644
(file)
--- 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();