mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-20 18:22:25 +00:00
The previous change skipped the hand-over for good while a user pick was pending. When that pick then probed empty, failed with a terminal error, or lost its source, nothing previewed and the slot stayed blank, where main would have draped the next ranked day. During the arrow-key debounce the empty slot also handed the Esri lease back and took it again 250 ms later. The hand-over is now deferred: the pick keeps first claim on the slot while its probe can still settle, and the next ranked day takes over as soon as the pick turns out empty, errors or loses its source. Turning a source off also drops a followed pick of that source. The layer keeps the current basemap while a deferred pick waits, and Escape releases it. Six tests cover both answer orders, the source toggle, a terminal error, the debounce and the lease.