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
This commit is contained in:
André Pönitz 2001-07-12 11:54:38 +00:00
parent 4dd6a8932e
commit 701697ec13

View File

@ -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);
}