mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
pixel cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7595 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
cb5af90a1b
commit
ffe9f5f430
@ -44,7 +44,7 @@ void MathOversetInset::metrics(MetricsInfo & mi, Dimension & dim) const
|
|||||||
void MathOversetInset::draw(PainterInfo & pi, int x, int y) const
|
void MathOversetInset::draw(PainterInfo & pi, int x, int y) const
|
||||||
{
|
{
|
||||||
int m = x + pi.width / 2;
|
int m = x + pi.width / 2;
|
||||||
int yo = y - cell(1).ascent() + cell(0).descent() + 1;
|
int yo = y - cell(1).ascent() + cell(0).descent() - 1;
|
||||||
cell(1).draw(pi, m - cell(1).width() / 2, y);
|
cell(1).draw(pi, m - cell(1).width() / 2, y);
|
||||||
FracChanger dummy(pi.base);
|
FracChanger dummy(pi.base);
|
||||||
cell(0).draw(pi, m - cell(0).width() / 2, yo);
|
cell(0).draw(pi, m - cell(0).width() / 2, yo);
|
||||||
|
Loading…
Reference in New Issue
Block a user