@equinor/esv-intersection 3.0.8 → 3.0.9
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/datautils/seismicimage.ts +1 -1
package/package.json
CHANGED
|
@@ -132,7 +132,7 @@ export async function generateSeismicSliceImage(
|
|
|
132
132
|
let offset = 0;
|
|
133
133
|
const colorFactor = (colorTableSize - 1) / domain.difference;
|
|
134
134
|
|
|
135
|
-
let pos = options?.isLeftToRight
|
|
135
|
+
let pos = options?.isLeftToRight ? trajectory[0][0] : trajectory[trajectory.length - 1][0];
|
|
136
136
|
|
|
137
137
|
const step = (length / width) * (options?.isLeftToRight ? -1 : 1);
|
|
138
138
|
|