]> git.lyx.org Git - features.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:57:36 +0000 (13:57 +0200)
commitcda56c0dc3d5e43b68b464fa1a483d8973d2b692
tree82cefab8fe1af71c9d51b777200d5070666b0979
parent4f50cbcfe405a840459be8682fd4c7521b235798
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.

(cherry picked from commit d6aecbda0f5929ab04805ac6e19cd48f3c4a059b)
src/BufferView.cpp