mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
missed that part
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21753 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b89d0e2eb7
commit
7df235d649
@ -126,9 +126,7 @@ void RenderPreview::metrics(MetricsInfo & mi, Dimension & dim) const
|
||||
getPreviewImage(mi.base.bv->buffer());
|
||||
|
||||
if (pimage) {
|
||||
dim.asc = pimage->ascent();
|
||||
dim.des = pimage->descent();
|
||||
dim.wid = pimage->width();
|
||||
dim = pimage->dim();
|
||||
} else {
|
||||
dim.asc = 50;
|
||||
dim.des = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user