pixel cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7595 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-08-22 16:01:59 +00:00
parent cb5af90a1b
commit ffe9f5f430

View File

@ -44,7 +44,7 @@ void MathOversetInset::metrics(MetricsInfo & mi, Dimension & dim) const
void MathOversetInset::draw(PainterInfo & pi, int x, int y) const
{
int m = x + pi.width / 2;
int yo = y - cell(1).ascent() + cell(0).descent() + 1;
int yo = y - cell(1).ascent() + cell(0).descent() - 1;
cell(1).draw(pi, m - cell(1).width() / 2, y);
FracChanger dummy(pi.base);
cell(0).draw(pi, m - cell(0).width() / 2, yo);