mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
commit again the drawing fix of revision 17826. This was accidentally reverted in revision 17841.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17849 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7a3600ac0a
commit
ab13c59979
@ -172,8 +172,8 @@ void MathMacro::draw(PainterInfo & pi, int x, int y) const
|
||||
tmpl_.draw(pi, x + w + 12, h);
|
||||
h += tmpl_.descent();
|
||||
Dimension ldim;
|
||||
string t = "#1: ";
|
||||
mathed_string_dim(font, name(), ldim);
|
||||
docstring t = from_ascii("#1: ");
|
||||
mathed_string_dim(font, t, ldim);
|
||||
for (idx_type i = 0; i < nargs(); ++i) {
|
||||
MathArray const & c = cell(i);
|
||||
h += max(c.ascent(), ldim.asc) + 5;
|
||||
|
Loading…
Reference in New Issue
Block a user