mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +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).
|
// except on macOS).
|
||||||
d->updateScreen(ev->rect());
|
d->updateScreen(ev->rect());
|
||||||
// Ignore this paint event, but request a new one for later.
|
// Ignore this paint event, but request a new one for later.
|
||||||
viewport()->update();
|
viewport()->update(ev->rect());
|
||||||
ev->accept();
|
ev->accept();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user