From 6b3ced7c075108b8667636d48fff46706d22045d Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 9 May 2024 11:50:18 +0200 Subject: [PATCH] one less place where metrics have to be recomputed --- src/BufferView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BufferView.cpp b/src/BufferView.cpp index deba1db919..800801c264 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp @@ -1017,7 +1017,7 @@ void BufferView::showCursor(DocIterator const & dit, ScrollType how, bool update) { if (scrollToCursor(dit, how) && update) - processUpdateFlags(Update::Force); + processUpdateFlags(Update::ForceDraw); }