b=359649, tree row painting broken, r=ndeakin

This commit is contained in:
vladimir%pobox.com 2006-11-28 19:28:39 +00:00
Родитель ad7cedd3f8
Коммит b0f9803629
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -2612,7 +2612,7 @@ nsTreeBodyFrame::PaintTreeBody(nsIRenderingContext& aRenderingContext,
// Update our available height and our page count. // Update our available height and our page count.
CalcInnerBox(); CalcInnerBox();
aRenderingContext.PushState(); aRenderingContext.PushState();
aRenderingContext.SetClipRect(mInnerBox + aPt, nsClipCombine_kReplace); aRenderingContext.SetClipRect(mInnerBox + aPt, nsClipCombine_kIntersect);
PRInt32 oldPageCount = mPageLength; PRInt32 oldPageCount = mPageLength;
if (!mHasFixedRowCount) if (!mHasFixedRowCount)
mPageLength = mInnerBox.height/mRowHeight; mPageLength = mInnerBox.height/mRowHeight;