Mercurial > hg > digilib
changeset 1282:3ffdeb8e209b
nicer comments.
author | robcast |
---|---|
date | Thu, 06 Mar 2014 12:14:39 +0100 |
parents | 6873d5e130d2 |
children | 32f39a7d3d41 |
files | common/src/main/java/digilib/image/ImageJobDescription.java webapp/src/main/webapp/jquery/jquery.digilib.vector.js |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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)));
--- 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.