mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
BufferView::showCursor(): better fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22438 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d5f47dc6f7
commit
e40499d5df
@ -745,7 +745,7 @@ void BufferView::showCursor()
|
||||
else if (d->anchor_pit_ == max_pit)
|
||||
d->anchor_ypos_ = height_ - offset - row_dim.descent();
|
||||
else
|
||||
d->anchor_ypos_ = offset + pm.ascent() + height_ / 2;
|
||||
d->anchor_ypos_ = defaultRowHeight() * 2 - offset - row_dim.descent();
|
||||
|
||||
updateMetrics();
|
||||
buffer_.changed();
|
||||
|
Loading…
Reference in New Issue
Block a user