summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-page.c
diff options
context:
space:
mode:
authorPaul Gardiner <paul.gardiner@artifex.com>2018-08-21 10:05:10 +0100
committerPaul Gardiner <paul.gardiner@artifex.com>2018-08-21 12:09:40 +0100
commit1a4fc8250f89e316c0a8cdb71fa47dd591255176 (patch)
tree26d170693ae0027a0fe9d91113039a98f3775d02 /source/pdf/pdf-page.c
parent781e6d58b23fc3b18549908fcc4b2163175d42a9 (diff)
downloadmupdf-1a4fc8250f89e316c0a8cdb71fa47dd591255176.tar.xz
Choose the lastmost annotation rather than firstmost as mouse event target.
pdf_pass_event iterates through the annotations to find one with a bounding box that encompasses the event point. We were choosing the first found, whereas later annotations are considered above earlier ones so we should be choosing the last found.
Diffstat (limited to 'source/pdf/pdf-page.c')
0 files changed, 0 insertions, 0 deletions