]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCollapsable.cpp
Circumvent odd stmary font metrics (part of #9990).
[lyx.git] / src / insets / InsetCollapsable.cpp
index 337845a607fc7739624df9209705a588e3140720..aeac8b358681eebc60f7e8a6043d613c903ae707 100644 (file)
@@ -348,7 +348,6 @@ void InsetCollapsable::draw(PainterInfo & pi, int x, int y) const
                        int const ww = max(textdim.wid, w);
                        pi.pain.rectText(x + (ww - w) / 2, y + desc + a,
                                buttonLabel(bv), font, Color_none, Color_none);
-                       desc += d;
                }
 
                // a visual cue when the cursor is inside the inset