mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-24 10:25:36 +00:00
draw correctly the border of the rectangular selection
svn path=/trunk/KDE/kdegraphics/okular/; revision=746592
This commit is contained in:
parent
cd5b0a9d7f
commit
76d061b443
|
@ -1033,7 +1033,7 @@ void PageView::contentsPaintEvent(QPaintEvent *pe)
|
|||
}
|
||||
// draw border (red if the selection is too small)
|
||||
pixmapPainter.setPen( selBlendColor );
|
||||
pixmapPainter.drawRect( selectionRect );
|
||||
pixmapPainter.drawRect( selectionRect.adjusted( 0, 0, -1, -1 ) );
|
||||
}
|
||||
// 3) Layer 1: give annotator painting control
|
||||
if ( d->annotator && d->annotator->routePaints( contentsRect ) )
|
||||
|
|
Loading…
Reference in a new issue