Skip to content

AnnotationDocument: Fix highlighter tool not blending with base image

Noah Davis requested to merge work/ndavis/highlighter-fix into master

Previously, the graphics were split into a base image and an annotations image. The change helped to improve CPU performance by not repainting the base image so much, but it messed up the highlighter effect. The highlighter needs to be blended with the base image in order to work correctly.

Now the base image is blended into the annotations image in places where the highlighter is used. This will probably hurt performance somewhat, but it doesn't seem too bad so far.

BUG: 488025

Merge request reports