D7662: Draw a dark rectangle around highlighted search results
Simone Gaiarin
noreply at phabricator.kde.org
Sun Feb 25 07:24:46 UTC 2018
simgunz added a comment.
Changing line 406
`QRect highlightRect = r.geometry( scaledWidth, scaledHeight ).translated( -scaledCrop.topLeft() ).intersected( limits );`
to
`QRect highlightRect = r.geometry( scaledWidth, scaledHeight ).translated( -scaledCrop.topLeft() );`
produces the correct behavior (also when zooming).
It is just an empirical trial, so I am not sure if this breaks something else.
REPOSITORY
R223 Okular
REVISION DETAIL
https://phabricator.kde.org/D7662
To: sander, #okular
Cc: simgunz, cfeck, aacid, ngraham, michaelweghorn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20180225/e18774c4/attachment.html>
More information about the Okular-devel
mailing list