mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Reset dim width when computing MathRow metrics
This was dropped by mistake in7bcb78a77
. Fixes bug #11152. (cherry picked from commitc58b914c80
)
This commit is contained in:
parent
87b44bcc1f
commit
1c8a53458a
@ -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