]> git.lyx.org Git - features.git/commitdiff
pixel cosmetics
authorAndré Pönitz <poenitz@gmx.net>
Fri, 22 Aug 2003 16:01:59 +0000 (16:01 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Fri, 22 Aug 2003 16:01:59 +0000 (16:01 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7595 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_oversetinset.C

index a3beef89cbdd6bd5b633b7e589ce245d0273522b..bfb42174020e01511823fb4c50292ee7ff11c25f 100644 (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);