one less place where metrics have to be recomputed

This commit is contained in:
Jean-Marc Lasgouttes 2024-05-09 11:50:18 +02:00
parent d4f3e87b14
commit 6b3ced7c07

View File

@ -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);
}