Fixing a minor drawing bug (filling in of the blank lines in the tree).

This commit is contained in:
hyatt%netscape.com 1998-12-13 01:20:35 +00:00
parent 57ae70eb65
commit 8c0b8598ea

View File

@ -646,7 +646,7 @@ void nsTreeView::PaintTreeRows(nsIRenderingContext* drawCtx,
if (yPosition < rect.y + rect.height)
{
// Fill the remaining area. TODO: Account for sort highlighting
nsRect remainderRect(0, yPosition, rect.width, rect.height - yPosition);
nsRect remainderRect(0, yPosition, rect.width, rect.height);
nscolor viewBGColor = NS_RGB(240,240,240);
drawCtx->SetColor(viewBGColor);
drawCtx->FillRect(remainderRect);