mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
(painting problems after load of instant preview image) http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147622.html git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28276 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3d018a6d94
commit
86ea78391e
@ -124,6 +124,8 @@ void RenderPreview::metrics(MetricsInfo & mi, Dimension & dim) const
|
||||
getPreviewImage(mi.base.bv->buffer());
|
||||
|
||||
if (pimage) {
|
||||
// If prepared, load the picture before dim calculation. See bug #5627.
|
||||
pimage->image();
|
||||
dim = pimage->dim();
|
||||
} else {
|
||||
dim.asc = 50;
|
||||
|
Loading…
Reference in New Issue
Block a user