mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +03:00
partial bugfix for #2312
This commit is contained in:
parent
bf06f271c6
commit
a01c230b6e
@ -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;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user