mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
InsetMathFrac.cpp: fix regression reported here: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg151588.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29847 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
70351330a0
commit
e83c2032ac
@ -223,7 +223,7 @@ void InsetMathFrac::draw(PainterInfo & pi, int x, int y) const
|
||||
ShapeChanger dummy2(pi.base.font, UP_SHAPE);
|
||||
cell(0).draw(pi, x + 2, y - dim0.des - 5);
|
||||
cell(1).draw(pi, x + dim0.width() + 5, y + dim1.asc / 2);
|
||||
} else if (kind_ == FRAC) {
|
||||
} else if (kind_ == FRAC || kind_ == OVER) {
|
||||
cell(0).draw(pi, m - dim0.wid / 2, y - dim0.des - 2 - 5);
|
||||
cell(1).draw(pi, m - dim1.wid / 2, y + dim1.asc + 2 - 5);
|
||||
} else if (kind_ == TFRAC) {
|
||||
|
Loading…
Reference in New Issue
Block a user