# HG changeset patch # User robcast # Date 1394104479 -3600 # Node ID 3ffdeb8e209b13ab5543de2e60a0b6a80392a032 # Parent 6873d5e130d216d2947d08699e3a6431807411e0 nicer comments. diff -r 6873d5e130d2 -r 3ffdeb8e209b common/src/main/java/digilib/image/ImageJobDescription.java --- a/common/src/main/java/digilib/image/ImageJobDescription.java Tue Feb 18 11:13:30 2014 +0100 +++ b/common/src/main/java/digilib/image/ImageJobDescription.java Thu Mar 06 12:14:39 2014 +0100 @@ -698,7 +698,7 @@ ImageSize ess = getExpectedSourceSize(); // nt = no transform required boolean nt = isImageSendable() && ( - // lores: send if smaller + // lores: send if smaller (isLoresOnly() && is.isSmallerThan(ess)) // else send if it fits || (!(isLoresOnly() || isHiresOnly()) && is.fitsIn(ess))); diff -r 6873d5e130d2 -r 3ffdeb8e209b webapp/src/main/webapp/jquery/jquery.digilib.vector.js --- a/webapp/src/main/webapp/jquery/jquery.digilib.vector.js Tue Feb 18 11:13:30 2014 +0100 +++ b/webapp/src/main/webapp/jquery/jquery.digilib.vector.js Thu Mar 06 12:14:39 2014 +0100 @@ -28,8 +28,8 @@ * * Shapes are objects with "geometry" and "properties" members. * geometry is an object with "type" and "coordinates" members. - * Currently supported types: "Line", "Rectangle". - * goordinates is a list of pairs of relative coordinates. + * Currently supported types: "Line", "LineString", "Rectangle", "Polygon". + * coordinates is a list of pairs of relative coordinates. * properties are the SVG properties "stroke", "stroke-width", "fill" and other properties. * A property 'editable':true will display drag-handles to change the shape. * Editing the shape will send a "changeShape"(shape) event.