reconfigures initial settings with a 30 year setting, more sensible defaults for zooms

This commit is contained in:
Lachlan Kermode
2020-02-09 18:27:35 +13:00
parent 6ad9b12370
commit 77bedb36b9
5 changed files with 13 additions and 7 deletions

View File

@@ -69,10 +69,12 @@ const initial = {
trackHeight: 80
},
range: [
new Date(2013, 2, 23, 12),
new Date(2016, 2, 23, 12)
new Date(1993, 2, 23, 12),
new Date(2023, 2, 23, 12)
],
zoomLevels: [
{ label: '30 years', duration: 15768000 },
{ label: '3 years', duration: 1576800 },
{ label: '3 months', duration: 129600 },
{ label: '3 days', duration: 4320 },
{ label: '12 hours', duration: 720 }