biscuit

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 538b9dc79c3601ec979a8bbdb9a786f8f3148f5e
parent 94cd1e75a00a68fd9f971851eaf4e8f1facf4269
Author: Daniel Barlow <dan@telent.net>
Date:   Tue, 17 Mar 2026 13:39:16 +0000

map-bounds: use passed parameters

Diffstat:
Mpkgs/maps/main.fnl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkgs/maps/main.fnl b/pkgs/maps/main.fnl @@ -175,7 +175,7 @@ label.readout { )) (fn map-bounds [lat lon zoom] - (let [(tile-x tile-y) (tiles.latlon->tile app-state.lat app-state.lon app-state.zoom)] + (let [(tile-x tile-y) (tiles.latlon->tile lat lon zoom)] (map-bounds-tile tile-x tile-y))) (fn bounds= [a b]