partial bugfix for #2312

This commit is contained in:
Tom 2023-03-13 21:56:06 -04:00
parent bf06f271c6
commit a01c230b6e

View File

@ -1962,6 +1962,9 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag
if (sketchScale) { if (sketchScale) {
clipPoint = clipPoint.times(sketchScale); clipPoint = clipPoint.times(sketchScale);
} }
if (sketchTranslate) {
clipPoint = clipPoint.plus(sketchTranslate);
}
return clipPoint; return clipPoint;
}); });
}); });