# HG changeset patch # User hertzhaft # Date 1392210715 -3600 # Node ID b7838a6f2958ca8ac36e9ca25f48c2217ec0adbc # Parent d2fa5234200f7b07c192ae4d560ad7231efdea60 legacy annotationmarks had zero width and were not displayed diff -r d2fa5234200f -r b7838a6f2958 webapp/src/main/webapp/jquery/jquery.digilib.annotator.js --- 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 = '
'+idx+'
'; $annotation = $(html);