зеркало из https://github.com/mozilla/gecko-dev.git
Bug 324866. Leave cellRect in frame coordinates until after we've checked OffsetForHorzScroll. r+sr=dbaron
This commit is contained in:
Родитель
5454eda94d
Коммит
a78d2d2a90
|
@ -2452,8 +2452,9 @@ nsTreeBodyFrame::PaintRow(PRInt32 aRowIndex,
|
|||
if (currCol->GetWidth()) {
|
||||
nsRect cellRect;
|
||||
CalcColumnRect(cellRect, currCol, rowRect.y, rowRect.height);
|
||||
cellRect.x += aPt.x;
|
||||
if (OffsetForHorzScroll(cellRect, PR_FALSE)) {
|
||||
cellRect.x += aPt.x;
|
||||
|
||||
nsRect dirtyRect;
|
||||
nscoord dummy;
|
||||
if (dirtyRect.IntersectRect(aDirtyRect, cellRect))
|
||||
|
|
Загрузка…
Ссылка в новой задаче