]> git.lyx.org Git - lyx.git/commit
Fix up 'Reduce metrics updates from 4 to 1 when loading file'
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 29 Apr 2024 12:22:57 +0000 (14:22 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 29 Apr 2024 16:02:14 +0000 (18:02 +0200)
commit527984ed2e0269861f5e1efc021fa0302d80819b
tree17b9a55032c98a519b06c626cf56271020c280f1
parent23c45f76adf66082851632a28f9c259e0f43a212
Fix up 'Reduce metrics updates from 4 to 1 when loading file'

The missing metrics computation meant that, when loading a file, the
workarea would not be scrolled correctly to show the cursor.

The resizeBufferView does not create an additional metrics
computation, it just triggers it earlier.
src/BufferView.cpp
src/frontends/qt/GuiView.cpp
src/frontends/qt/GuiWorkArea.cpp
src/frontends/qt/GuiWorkArea.h
src/frontends/qt/GuiWorkArea_Private.h