mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 11:52:25 +00:00
Don't ask me why but the cursor x position hack is not needed anymore following my cursor changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15870 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a988cd6de1
commit
e5cdbb6a9d
@ -195,9 +195,7 @@ Point coordOffset(BufferView const & bv, DocIterator const & dit,
|
|||||||
y += par.rows()[rit].height();
|
y += par.rows()[rit].height();
|
||||||
y += par.rows()[rend].ascent();
|
y += par.rows()[rend].ascent();
|
||||||
x += dit.bottom().text()->cursorX(*bv.buffer(), dit.bottom(), boundary && dit.depth() == 1);
|
x += dit.bottom().text()->cursorX(*bv.buffer(), dit.bottom(), boundary && dit.depth() == 1);
|
||||||
// FIXME: The following correction should not be there at all.
|
|
||||||
// The cursor looks much better with the +1, though.
|
|
||||||
++x;
|
|
||||||
return Point(x, y);
|
return Point(x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user