зеркало из https://github.com/mozilla/gecko-dev.git
b=359649, tree row painting broken, r=ndeakin
This commit is contained in:
Родитель
ad7cedd3f8
Коммит
b0f9803629
|
@ -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;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче