From a01c230b6e4418ba11b019c60fd0832d9d2b6f97 Mon Sep 17 00:00:00 2001 From: Tom Date: Mon, 13 Mar 2023 21:56:06 -0400 Subject: [PATCH] partial bugfix for #2312 --- src/tiledimage.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tiledimage.js b/src/tiledimage.js index 467e4733..3d7530b8 100644 --- a/src/tiledimage.js +++ b/src/tiledimage.js @@ -1962,6 +1962,9 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag if (sketchScale) { clipPoint = clipPoint.times(sketchScale); } + if (sketchTranslate) { + clipPoint = clipPoint.plus(sketchTranslate); + } return clipPoint; }); });