From 701697ec1382928ede1e71b6999da4e4ac331756 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Thu, 12 Jul 2001 11:54:38 +0000 Subject: [PATCH] fix drawing glitch (\vec was almost invisible on screen) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2223 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_accentinset.C | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mathed/math_accentinset.C b/src/mathed/math_accentinset.C index 2c12be4ad8..81b145336d 100644 --- a/src/mathed/math_accentinset.C +++ b/src/mathed/math_accentinset.C @@ -37,10 +37,8 @@ void MathAccentInset::Metrics(MathStyles st, int, int) void MathAccentInset::draw(Painter & pain, int x, int y) { - int const dw = width() - 2; xcell(0).draw(pain, x, y); - x += (code == LM_not) ? (width() - dw) / 2 : 2; - mathed_draw_deco(pain, x, y - dy, dw, dh, code); + mathed_draw_deco(pain, x, y - dy, width(), dh, code); }