docs: update AGENTS.md with current architecture and fix timeline slider reset

- Rewrite AGENTS.md with directory map, route table, store docs, and
  build/deploy information reflecting current project state
- Fix map timeline slider not resetting to current time when reopening
  the controls panel
This commit is contained in:
2026-05-24 17:26:48 +08:00
parent 6bce7276e2
commit 1e0da1fe36
2 changed files with 103 additions and 21 deletions
+4 -1
View File
@@ -373,7 +373,10 @@ function handleSliderPointerUp() {
async function toggleTimelineControls() {
timelineControlsOpen.value = !timelineControlsOpen.value
if (!timelineControlsOpen.value) {
if (timelineControlsOpen.value) {
syncCurrentMinute()
selectedMinuteOfDay.value = currentMinuteOfDay.value
} else {
archivePanelOpen.value = false
sliderDragging.value = false
if (mapMode.value === 'archive') {