mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Fix anchor bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22432 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c4d85b3f1d
commit
8379c2b70f
@ -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_ = offset + pm.ascent() + height_ / 2;
|
||||
|
||||
updateMetrics();
|
||||
buffer_.changed();
|
||||
|
Loading…
Reference in New Issue
Block a user