mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fixup 38f09c177b
: limit to paint rectangle
This commit is contained in:
parent
38f09c177b
commit
2617a4dd50
@ -1272,7 +1272,7 @@ void GuiWorkArea::paintEvent(QPaintEvent * ev)
|
||||
// except on macOS).
|
||||
d->updateScreen(ev->rect());
|
||||
// Ignore this paint event, but request a new one for later.
|
||||
viewport()->update();
|
||||
viewport()->update(ev->rect());
|
||||
ev->accept();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user