mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 06:15:16 +00:00
Revert "Skip all drawing with NoScreenUpdate strategy"
This reverts commit b874bdfd40
.
It was commited by mistake and actually does not seem to improve
performance.
This commit is contained in:
parent
535429d914
commit
5a3401c66e
@ -3079,8 +3079,12 @@ void BufferView::draw(frontend::Painter & pain)
|
||||
switch (d->update_strategy_) {
|
||||
|
||||
case NoScreenUpdate:
|
||||
// If no screen painting is actually needed, only some the different
|
||||
// coordinates of insets and paragraphs needs to be updated.
|
||||
LYXERR(Debug::PAINTING, "Strategy: NoScreenUpdate");
|
||||
// nothing to do
|
||||
pi.full_repaint = true;
|
||||
pi.pain.setDrawingEnabled(false);
|
||||
tm.draw(pi, 0, y);
|
||||
break;
|
||||
|
||||
case SingleParUpdate:
|
||||
|
Loading…
Reference in New Issue
Block a user