mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 11:52:25 +00:00
Improve metrics for \limits in display mode
(cherry picked from commit 8d54457dbf
)
This commit is contained in:
parent
d968717940
commit
67c0ca678b
@ -298,9 +298,9 @@ void InsetMathScript::metrics(MetricsInfo & mi, Dimension & dim) const
|
|||||||
cell(0).metrics(mi, dim0);
|
cell(0).metrics(mi, dim0);
|
||||||
Changer dummy = mi.base.changeScript();
|
Changer dummy = mi.base.changeScript();
|
||||||
if (nargs() > 1)
|
if (nargs() > 1)
|
||||||
cell(1).metrics(mi, dim1);
|
cell(1).metrics(mi, dim1, !hasLimits());
|
||||||
if (nargs() > 2)
|
if (nargs() > 2)
|
||||||
cell(2).metrics(mi, dim2);
|
cell(2).metrics(mi, dim2, !hasLimits());
|
||||||
|
|
||||||
dim.wid = 0;
|
dim.wid = 0;
|
||||||
BufferView & bv = *mi.base.bv;
|
BufferView & bv = *mi.base.bv;
|
||||||
|
@ -76,6 +76,7 @@ What's new
|
|||||||
|
|
||||||
- Fix display bug when typing in a paragraph where row heights change (bug 11601).
|
- Fix display bug when typing in a paragraph where row heights change (bug 11601).
|
||||||
|
|
||||||
|
- Fix spacing of limits of sum-like operators in display style.
|
||||||
|
|
||||||
* INTERNALS
|
* INTERNALS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user