From efbcfbc0675354f464aee26a571b435c1f8d9386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Fri, 12 Oct 2001 14:05:04 +0000 Subject: [PATCH] draw delimiters a bit smaller git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2872 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_deliminset.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mathed/math_deliminset.C b/src/mathed/math_deliminset.C index 6bb3abb1a7..a4f7efafd1 100644 --- a/src/mathed/math_deliminset.C +++ b/src/mathed/math_deliminset.C @@ -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_); }