@kispace-io/gs-lib 1.0.32 → 1.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +0 -8
- package/dist/index.js.map +1 -1
- package/package.json +5 -1
package/dist/index.js
CHANGED
|
@@ -30988,14 +30988,6 @@ function render$1(width, height, pixelRatio, sourceResolution, sourceExtent, tar
|
|
|
30988
30988
|
if (!interpolate) {
|
|
30989
30989
|
stitchContext.imageSmoothingEnabled = false;
|
|
30990
30990
|
}
|
|
30991
|
-
if (sourceExtent && clipExtent) {
|
|
30992
|
-
const xPos = (sourceExtent[0] - sourceDataExtent[0]) * stitchScale;
|
|
30993
|
-
const yPos = -(sourceExtent[3] - sourceDataExtent[3]) * stitchScale;
|
|
30994
|
-
const width2 = getWidth(sourceExtent) * stitchScale;
|
|
30995
|
-
const height2 = getHeight(sourceExtent) * stitchScale;
|
|
30996
|
-
stitchContext.rect(xPos, yPos, width2, height2);
|
|
30997
|
-
stitchContext.clip();
|
|
30998
|
-
}
|
|
30999
30991
|
sources2.forEach(function(src, i5, arr) {
|
|
31000
30992
|
if (src.image.width > 0 && src.image.height > 0) {
|
|
31001
30993
|
if (src.clipExtent) {
|