]> git.lyx.org Git - lyx.git/commit
Avoid empty space above the top of the document
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 28 Sep 2017 11:31:41 +0000 (13:31 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 28 Sep 2017 11:31:41 +0000 (13:31 +0200)
commitd6aecbda0f5929ab04805ac6e19cd48f3c4a059b
treec739c77f185498cab9a62c1602d38b7ae2fbddde
parenta18ad654e8bd97407eeeecfb04d6c266bbb91b94
Avoid empty space above the top of the document

If the height of the first row of the document has become smaller (for
example when it contains an image which size has shrunk), that the
anchor offset has to be adapted so that there is not a large blank
space at the top of the document.
src/BufferView.cpp