mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-24 01:01:57 +00:00
Fix drawing of multiple views of a same buffer in the *same window* (aka split-view).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23087 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
95b9cbb4c4
commit
c607940f5b
@ -310,7 +310,8 @@ void GuiWorkArea::redraw()
|
||||
|
||||
// No need to do anything if this is the current view. The BufferView
|
||||
// metrics are already up to date.
|
||||
if (lyx_view_ != guiApp->currentView()) {
|
||||
if (lyx_view_ != guiApp->currentView()
|
||||
|| lyx_view_->currentWorkArea() != this) {
|
||||
// FIXME: it would be nice to optimize for the off-screen case.
|
||||
buffer_view_->updateMetrics();
|
||||
buffer_view_->cursor().fixIfBroken();
|
||||
|
Loading…
x
Reference in New Issue
Block a user