consider only fully visible items
Change-Id: I32d88e5206a96b316f29cf4ede04a6ac951d86d5
This commit is contained in:
parent
09eb412b2c
commit
6657052e46
1 changed files with 1 additions and 1 deletions
|
@ -2308,7 +2308,7 @@ SvLBoxEntry* SvTreeListBox::GetLastEntryInView() const
|
|||
{
|
||||
Point aPos( GetEntryPosition(pNext) );
|
||||
const Size& rSize = pImp->GetOutputSize();
|
||||
if( aPos.Y() < 0 || aPos.Y() >= rSize.Height() )
|
||||
if( aPos.Y() < 0 || aPos.Y() + GetEntryHeight() >= rSize.Height() )
|
||||
break;
|
||||
else
|
||||
pEntry = pNext;
|
||||
|
|
Loading…
Reference in a new issue