- if (text_ && mi_.view)
- text_->draw(mi_.view, mi_.font, y, fx, false);
- if (mathcursor && mathcursor->isInside(this))
- pain.rectangle(x, y - ascent(), xcell(0).width(), height(),
- LColor::mathframe);
+void MathBoxInset::draw(MathPainterInfo & pi, int x, int y) const
+{
+ MathFontSetChanger dummy(pi.base, "textnormal");
+ MathGridInset::draw(pi, x, y);
+ mathed_draw_framebox(pi, x, y, this);