Skip to content

Commit

Permalink
Update timelapse3, fix moorage overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
xbgmsharp committed Apr 28, 2024
1 parent da41025 commit 561477b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/timelapse/Timelapse3.vue
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
if (
geojson.features[index].properties.trip &&
geojson.features[index].properties.trip?.name.length != 0 &&
!ignore_moorage_overlay.value
!!ignore_moorage_overlay.value
) {
tripView.innerText = geojson.features[index].properties.trip.name
tripView.style.opacity = 1
Expand All @@ -281,7 +281,7 @@
}
// Display overlay notes
//console.debug(geojson.features[index])
if (geojson.features[index].properties.notes.length != 0 && !ignore_moorage_overlay.value) {
if (geojson.features[index].properties.notes.length != 0 && !!ignore_moorage_overlay.value) {
noteView.innerText = geojson.features[index].properties.notes
noteView.style.opacity = 1
noteView.style.display = 'block'
Expand Down

0 comments on commit 561477b

Please sign in to comment.