mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
add comment
This commit is contained in:
parent
975115479a
commit
582eb7cc03
@ -243,6 +243,8 @@ void InsetSpecialChar::metrics(MetricsInfo & mi, Dimension & dim) const
|
|||||||
frontend::NullPainter np;
|
frontend::NullPainter np;
|
||||||
PainterInfo pi(mi.base.bv, np);
|
PainterInfo pi(mi.base.bv, np);
|
||||||
pi.base.font = mi.base.font;
|
pi.base.font = mi.base.font;
|
||||||
|
// We rely on the fact that drawLogo updates x to compute
|
||||||
|
// the width without code duplication.
|
||||||
drawLogo(pi, dim.wid, 0, kind_);
|
drawLogo(pi, dim.wid, 0, kind_);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user