mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
fix off-by-one-pixel drawing problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2870 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3e2e63a4b4
commit
bb3a2ccaa5
@ -357,13 +357,13 @@ bool InsetFormula::insetAllowed(Inset::Code code) const
|
||||
|
||||
int InsetFormula::ascent(BufferView *, LyXFont const &) const
|
||||
{
|
||||
return par_->ascent() + 1;
|
||||
return par_->ascent() + 2;
|
||||
}
|
||||
|
||||
|
||||
int InsetFormula::descent(BufferView *, LyXFont const &) const
|
||||
{
|
||||
return par_->descent() + 1;
|
||||
return par_->descent() - 2;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user