mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Reset dim width when computing MathRow metrics
This was dropped by mistake in 7bcb78a77
.
Fixes bug #11152.
This commit is contained in:
parent
bbf287a3c6
commit
c58b914c80
@ -236,6 +236,7 @@ int MathRow::after(int i) const
|
||||
|
||||
void MathRow::metrics(MetricsInfo & mi, Dimension & dim)
|
||||
{
|
||||
dim.wid = 0;
|
||||
// In order to compute the dimension of macros and their
|
||||
// arguments, it is necessary to keep track of them.
|
||||
vector<pair<InsetMath const *, Dimension>> dim_insets;
|
||||
|
Loading…
Reference in New Issue
Block a user