mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix empty blue box painting in mathed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20687 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4fc79439ad
commit
b06228b35e
@ -241,8 +241,11 @@ void MathData::metrics(MetricsInfo & mi, Dimension & dim) const
|
||||
sshift_ = xascent / 4;
|
||||
kerning_ = 0;
|
||||
|
||||
if (empty())
|
||||
if (empty()) {
|
||||
// Cache the dimension.
|
||||
mi.base.bv->coordCache().arrays().add(this, dim);
|
||||
return;
|
||||
}
|
||||
|
||||
dim.asc = 0;
|
||||
dim.wid = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user