Skip to content

Commit

Permalink
Fix typo (#647)
Browse files Browse the repository at this point in the history
  • Loading branch information
HavardNJ authored Jun 20, 2023
1 parent c06692b commit 084bdea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@equinor/esv-intersection",
"version": "3.0.8",
"version": "3.0.9",
"description": "Intersection component package with testing and automatic documentation.",
"type": "module",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion src/datautils/seismicimage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export async function generateSeismicSliceImage(
let offset = 0;
const colorFactor = (colorTableSize - 1) / domain.difference;

let pos = options?.isLeftToRight == null ? trajectory[0][0] : trajectory[trajectory.length - 1][0];
let pos = options?.isLeftToRight ? trajectory[0][0] : trajectory[trajectory.length - 1][0];

const step = (length / width) * (options?.isLeftToRight ? -1 : 1);

Expand Down

0 comments on commit 084bdea

Please sign in to comment.