# HG changeset patch # User robcast # Date 1327592231 -3600 # Node ID c01876d65bb8b4e7cfb816cf3a7a27f0dcbd8b55 # Parent fed2f0ba586c83a794ac27c132f67b7505d02061 fixed zoom out of pixel-by-pixel. diff -r fed2f0ba586c -r c01876d65bb8 webapp/src/main/webapp/jquery/jquery.digilib.js --- a/webapp/src/main/webapp/jquery/jquery.digilib.js Thu Jan 26 15:36:45 2012 +0100 +++ b/webapp/src/main/webapp/jquery/jquery.digilib.js Thu Jan 26 16:37:11 2012 +0100 @@ -1448,10 +1448,10 @@ console.debug("aspect ratio changed!"); // what now? } - // get transform for new zoomArea + // get transform for new zoomArea (use 'screen' instead of data.scaleMode) imgTrafo = getImgTrafo($img, newZoomArea, data.settings.rot, data.scalerFlags.hmir, data.scalerFlags.vmir, - data.scaleMode, data); + 'screen', data); // for new background coordinates transform old zoomArea with new Transform bgRect = imgTrafo.transform(data.zoomArea); // correct offset because background is relative