Mercurial > hg > digilib
changeset 1277:b7838a6f2958
legacy annotationmarks had zero width and were not displayed
author | hertzhaft |
---|---|
date | Wed, 12 Feb 2014 14:11:55 +0100 |
parents | d2fa5234200f |
children | e74fad20180a |
files | webapp/src/main/webapp/jquery/jquery.digilib.annotator.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/webapp/src/main/webapp/jquery/jquery.digilib.annotator.js Fri Feb 07 16:37:04 2014 +0100 +++ b/webapp/src/main/webapp/jquery/jquery.digilib.annotator.js Wed Feb 12 14:11:55 2014 +0100 @@ -316,7 +316,7 @@ } else { // render point if (!data.zoomArea.containsPosition(area)) return; - screenRect = data.imgTrafo.transform(area); + screenRect = data.imgTrafo.transform(area).getPosition(); // create annotation var html = '<div class="'+cssPrefix+'annotationmark '+cssPrefix+'overlay annotator-hl">'+idx+'</div>'; $annotation = $(html);