Skip to content

Commit

Permalink
fix compressed pulse (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
BryonLewis authored Mar 27, 2024
1 parent 096eed4 commit 27d2dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/geoJS/geoJSUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ function spectroToGeoJSon(
const high_freq =
adjustedHeight - (annotation.high_freq - spectroInfo.low_freq) * heightScale;
const start_time = (pixelAddStart * compressedScale) + (annotation.start_time - start_times[foundStartIndex]) * widthScale;
const end_time = (pixelAddEnd * compressedScale) + (annotation.end_time - start_times[pixelAddEnd]) * widthScale;
const end_time = (pixelAddEnd * compressedScale) + (annotation.end_time - start_times[foundEndIndex]) * widthScale;

return {
type: "Polygon",
Expand Down

0 comments on commit 27d2dd2

Please sign in to comment.