]> git.lyx.org Git - lyx.git/commitdiff
draw delimiters a bit smaller
authorAndré Pönitz <poenitz@gmx.net>
Fri, 12 Oct 2001 14:05:04 +0000 (14:05 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Fri, 12 Oct 2001 14:05:04 +0000 (14:05 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2872 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_deliminset.C

index 6bb3abb1a7eeac307bfe139aece557d358f76cdc..a4f7efafd1c8598ea2b68c13ca6024965322f01a 100644 (file)
@@ -82,8 +82,8 @@ void MathDelimInset::draw(Painter & pain, int x, int y) const
        yo(y); 
 
        int const w = dw();
-       int const b = y - ascent_ - 2;
+       int const b = y - ascent_;
        xcell(0).draw(pain, x + w + 2, y);
-       mathed_draw_deco(pain, x + 1, b, w, height() + 4, left_);
-       mathed_draw_deco(pain, x + width() - w - 1, b, w, height() + 4, right_);
+       mathed_draw_deco(pain, x + 1, b, w, height(), left_);
+       mathed_draw_deco(pain, x + width() - w - 1, b, w, height(), right_);
 }