mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Fixing a minor drawing bug (filling in of the blank lines in the tree).
This commit is contained in:
parent
57ae70eb65
commit
8c0b8598ea
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user