make enering a formula from above/below a bit smoother

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5073 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-08-22 13:17:29 +00:00
parent 107ecefbad
commit 9e9450cd9a

View File

@ -173,9 +173,7 @@ void InsetFormulaBase::edit(BufferView * bv, int x, int y, mouse_button::state)
releaseMathCursor(bv);
mathcursor = new MathCursor(this, true);
metrics(bv);
mathcursor->setPos(x, y);
//lyxerr << "setting pos to " << x << "," << y << "\n";
mathcursor->setPos(x + xo_, y + yo_);
// if that is removed, we won't get the magenta box when entering an
// inset for the first time
bv->updateInset(this, false);