Commit fed8729e authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Fix artifacts when hovering over reference images in HiDPI mode

Thanks Freya Lupen for the provided patch!

BUG:441216


(cherry picked from commit 213f967e)
parent 1d2e8819
Pipeline #234869 passed with stage
in 47 minutes and 21 seconds
......@@ -200,7 +200,7 @@ void KisOpenGLCanvas2::paintGL()
{
QPainter gc(this);
if (!updateRect.isEmpty()) {
gc.setClipRect(updateRect);
gc.setClipRect(kisGrowRect(updateRect, 1));
}
QRect decorationsBoundingRect = coordinatesConverter()->imageRectInWidgetPixels().toAlignedRect();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment