changeset 1414:840004733070

fixed bug in measure tool where linegrid could not be drawn
author hertzhaft
date Thu, 22 Oct 2015 11:01:19 +0200
parents 48db87972281
children 7247c046d9dc
files webapp/src/main/webapp/jquery/annotator-dl.js webapp/src/main/webapp/jquery/annotator-dl.min.js webapp/src/main/webapp/jquery/digilib-ann.html webapp/src/main/webapp/jquery/digilib-vector.html webapp/src/main/webapp/jquery/img/fullscreen/32/annotation-polygon.png webapp/src/main/webapp/jquery/img/fullscreen/32/annotation-polyline.png webapp/src/main/webapp/jquery/img/info.png webapp/src/main/webapp/jquery/img/move.png webapp/src/main/webapp/jquery/jquery.colorPicker.js webapp/src/main/webapp/jquery/jquery.digilib.annotator.js webapp/src/main/webapp/jquery/jquery.digilib.geometry.js webapp/src/main/webapp/jquery/jquery.digilib.measure.js webapp/src/main/webapp/jquery/jquery.digilib.vector.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/webapp/src/main/webapp/jquery/jquery.digilib.measure.js	Wed Oct 21 14:09:59 2015 +0200
+++ b/webapp/src/main/webapp/jquery/jquery.digilib.measure.js	Thu Oct 22 11:01:19 2015 +0200
@@ -1393,7 +1393,7 @@
                     shape.properties.maxvtx = 2;
                 },
                 'svg' : function (shape) {
-                    var $s = factory['Line'](shape);
+                    var $s = factory['Line'].svg(shape);
                     var place = $s.place;
                     var gridID = shape.id + '-grid';
                     var props = shape.properties;