]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_deliminset.C
draw delimiters a bit smaller
[features.git] / 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_);
 }