void InsetFormula::draw(PainterInfo & pi, int x, int y) const
{
+ xo_ = x;
+ yo_ = y;
+
// The previews are drawn only when we're not editing the inset.
bool const use_preview = !editing_inset(this)
&& RenderPreview::activated()
par_->draw(p, x, y);
}
-
- xo_ = x;
- yo_ = y;
-
- top_x = x;
- top_baseline = y;
-
}