[LyX/master] Add FIXME: do we need to update scrollbar at each draw()?

Jean-Marc Lasgouttes lasgouttes at lyx.org
Sun Aug 30 16:53:13 UTC 2020


commit d68f6f7f40442adb1e88629f1c6b92f5f7c02522
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date:   Sun Aug 30 19:15:20 2020 +0200

    Add FIXME: do we need to update scrollbar at each draw()?
    
    Related to ticket #11947.
---
 src/BufferView.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/BufferView.cpp b/src/BufferView.cpp
index e316aab..75d8a4e 100644
--- a/src/BufferView.cpp
+++ b/src/BufferView.cpp
@@ -3277,6 +3277,7 @@ void BufferView::draw(frontend::Painter & pain, bool paint_caret)
 	                        : "\t\t *** END DRAWING ***"));
 
 	// The scrollbar needs an update.
+	// FIXME: does it always? see ticket #11947.
 	updateScrollbar();
 
 	// Normalize anchor for next time


More information about the lyx-cvs mailing list