mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Cell in delimiter inset should not be tight
Fixes bug #11337.
(cherry picked from commit 4da19ef833
)
This commit is contained in:
parent
49255788ea
commit
bc54a55491
@ -93,7 +93,7 @@ void InsetMathDelim::metrics(MetricsInfo & mi, Dimension & dim) const
|
||||
{
|
||||
Changer dummy = mi.base.changeEnsureMath();
|
||||
Dimension dim0;
|
||||
cell(0).metrics(mi, dim0);
|
||||
cell(0).metrics(mi, dim0, false);
|
||||
Dimension t = theFontMetrics(mi.base.font).dimension('I');
|
||||
int h0 = (t.asc + t.des) / 2;
|
||||
int a0 = max(dim0.asc, t.asc) - h0;
|
||||
|
@ -218,6 +218,8 @@ What's new
|
||||
|
||||
- Handle some cases where underline across insets did not painted (bug 11402).
|
||||
|
||||
- Fix minimal height of delimiters inset (bug 11337).
|
||||
|
||||
|
||||
* INTERNALS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user