Skip to content

Commit

Permalink
style: make visited bars green on the map
Browse files Browse the repository at this point in the history
  • Loading branch information
SchutteJan committed Jul 24, 2024
1 parent 1b99f0d commit 2ec1c7a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/routes/map/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
function addBarMapAnnotations(L: any, map: any, bars: Array<LocationResponse>) {
bars.forEach((bar) => {
L.circle([bar.coordinates.x, bar.coordinates.y], {
color: 'red',
fillColor: '#f03',
color: bar.visited_at ? '#00895A' : '#D93526',
fillOpacity: 0.2,
radius: 5
})
Expand Down

0 comments on commit 2ec1c7a

Please sign in to comment.