mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
fix underbrace drawing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7177 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a0aa73cf1e
commit
9e50499320
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user