Fix location card contrast and mobile history controls

This commit is contained in:
Codex
2026-10-19 00:07:17 +08:00
parent a5d2399d2e
commit cd3ed420a2
13 changed files with 59 additions and 49 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
import"./modulepreload-polyfill-B5Qt9EMX.js";import{createFamilyMap as n}from"./controller-Je5cOZA3.js";const e=n(document.getElementById("map"),{onStatus:t=>document.getElementById("status").textContent=t});window.ZhaoMap={setItems:t=>e.setItems(t),setTrack:t=>e.setTrack(t),focus:t=>e.focus(t),fit:()=>e.fit(),setNight:t=>{document.documentElement.dataset.theme=t?"night":"day",e.setNight(t)}};document.addEventListener("visibilitychange",()=>{document.hidden&&(e.setItems([]),e.setTrack([]))});window.addEventListener("pagehide",()=>e.setItems([]));const s=()=>window.ZhaoMap.setNight(new Date().getHours()>=20||new Date().getHours()<7);s();setInterval(s,6e4);
import"./modulepreload-polyfill-B5Qt9EMX.js";import{createFamilyMap as n}from"./controller-NWgljfVQ.js";const e=n(document.getElementById("map"),{onStatus:t=>document.getElementById("status").textContent=t});window.ZhaoMap={setItems:t=>e.setItems(t),setTrack:t=>e.setTrack(t),focus:t=>e.focus(t),fit:()=>e.fit(),setNight:t=>{document.documentElement.dataset.theme=t?"night":"day",e.setNight(t)}};document.addEventListener("visibilitychange",()=>{document.hidden&&(e.setItems([]),e.setTrack([]))});window.addEventListener("pagehide",()=>e.setItems([]));const s=()=>window.ZhaoMap.setNight(new Date().getHours()>=20||new Date().getHours()<7);s();setInterval(s,6e4);
File diff suppressed because one or more lines are too long