mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
4dd6a8932e
commit
701697ec13
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user