зеркало из https://github.com/mozilla/pjs.git
changed Invalidate calls to have a FLASE repaint flag
This commit is contained in:
Родитель
6a9e9cee81
Коммит
77013f79fa
|
@ -67,7 +67,7 @@ nsButtonFrameRenderer::Redraw()
|
||||||
mFrame->GetRect(rect);
|
mFrame->GetRect(rect);
|
||||||
rect.x = 0;
|
rect.x = 0;
|
||||||
rect.y = 0;
|
rect.y = 0;
|
||||||
mFrame->Invalidate(rect, PR_TRUE);
|
mFrame->Invalidate(rect, PR_FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -266,7 +266,7 @@ nsButtonControlFrame::AttributeChanged(nsIPresContext* aPresContext,
|
||||||
} else {
|
} else {
|
||||||
if (nsHTMLAtoms::value == aAttribute) {
|
if (nsHTMLAtoms::value == aAttribute) {
|
||||||
// redraw button with the changed value
|
// redraw button with the changed value
|
||||||
Invalidate(mRect, PR_TRUE);
|
Invalidate(mRect, PR_FALSE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
@ -590,7 +590,7 @@ nsButtonControlFrame::SetFocus(PRBool aOn, PRBool aRepaint)
|
||||||
void
|
void
|
||||||
nsButtonControlFrame::Redraw()
|
nsButtonControlFrame::Redraw()
|
||||||
{ nsRect rect(0, 0, mRect.width, mRect.height);
|
{ nsRect rect(0, 0, mRect.width, mRect.height);
|
||||||
Invalidate(rect, PR_TRUE);
|
Invalidate(rect, PR_FALSE);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ nsButtonFrameRenderer::Redraw()
|
||||||
mFrame->GetRect(rect);
|
mFrame->GetRect(rect);
|
||||||
rect.x = 0;
|
rect.x = 0;
|
||||||
rect.y = 0;
|
rect.y = 0;
|
||||||
mFrame->Invalidate(rect, PR_TRUE);
|
mFrame->Invalidate(rect, PR_FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Загрузка…
Ссылка в новой задаче