#include <config.h>
#include "math_diminset.h"
+#include "coordcache.h"
#include "debug.h"
MathDimInset::MathDimInset()
- : xo_(-3), yo_(-3) // some sentinel value for debugging
{}
void MathDimInset::setPosCache(PainterInfo const &, int x, int y) const
{
//lyxerr << "MathDimInset: cache to " << x << " " << y << std::endl;
- xo_ = x;
- yo_ = y;
+ theCoords.insets().add(this, x, y);
}