From 9e504993209d08a8cf020d77e63664b0bdbc486b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Tue, 17 Jun 2003 06:34:49 +0000 Subject: [PATCH] fix underbrace drawing git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7177 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_decorationinset.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mathed/math_decorationinset.C b/src/mathed/math_decorationinset.C index ade9703135..1273285eea 100644 --- a/src/mathed/math_decorationinset.C +++ b/src/mathed/math_decorationinset.C @@ -97,7 +97,7 @@ void MathDecorationInset::draw(PainterInfo & pi, int x, int y) const { cell(0).draw(pi, x + 1, y); if (wide()) - mathed_draw_deco(pi, x + 1, y + dy_, pi.width, dh_, key_->name); + mathed_draw_deco(pi, x + 1, y + dy_, cell(0).width(), dh_, key_->name); else mathed_draw_deco(pi, x + 1 + (pi.width - dw_) / 2, y + dy_, dw_, dh_, key_->name); -- 2.39.5