mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 15:01:58 +00:00
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:
parent
107ecefbad
commit
9e9450cd9a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user