Commit Graph

5 Commits

Author SHA1 Message Date
0bc1d5e2e3 make leftMark and rightMark separate model properties
the logic is much simpler if rightMark is a time not a duration
2024-11-27 17:47:58 +00:00
ddd461dc8d rewrite drag handling
We do almost all the same things to update an in-progress drag
(scrolls, repaints, bounds checking etc) as for a finished drag, so
imo the model state (centre, startTime etc) during a drag should be
updated just the same as it is after the button is released
2024-11-27 00:18:33 +00:00
dfe0a7dbd5 use a Maybe instead of NoTarget 2024-11-25 21:36:07 +00:00
8f9e89ffcd rename FineZoomLevel to ZoomLevel and ZoomLevel to TileZoomlevel
"bounded contexts": use the shorter name for the souplesse concept
and the longer name (only in MapTile) for OSM zoom levels
2024-11-24 21:07:01 +00:00
33d59e1696 extract Model module 2024-11-23 16:41:04 +00:00