Paint the numerator and denominator early so that their background doesn't overwrite the fraction line, b=303486, r+sr=roc, a=asa

This commit is contained in:
rbs%maths.uq.edu.au 2005-08-08 03:20:59 +00:00
Родитель 7bf819d206
Коммит 3554a3756a
1 изменённых файлов: 7 добавлений и 4 удалений

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

@ -227,6 +227,12 @@ nsMathMLmfracFrame::Paint(nsPresContext* aPresContext,
nsFramePaintLayer aWhichLayer,
PRUint32 aFlags)
{
/////////////
// paint the numerator and denominator
nsresult rv = nsMathMLContainerFrame::Paint(aPresContext, aRenderingContext,
aDirtyRect, aWhichLayer);
/////////////
// paint the fraction line
if (mSlashChar) {
// bevelled rendering
mSlashChar->Paint(aPresContext, aRenderingContext,
@ -242,10 +248,7 @@ nsMathMLmfracFrame::Paint(nsPresContext* aPresContext,
mLineRect.width, mLineRect.height);
}
/////////////
// paint the numerator and denominator
return nsMathMLContainerFrame::Paint(aPresContext, aRenderingContext,
aDirtyRect, aWhichLayer);
return rv;
}
NS_IMETHODIMP