diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-10-10 21:47:32 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-10-10 21:47:32 +1100 |
| commit | 4aa28afe7bead19f633e2ce8829a66b7c65ea746 (patch) | |
| tree | 41af85010b9a3a3d757e926109e62b9d29c14423 /src/lib.ts | |
| parent | ceaa2b13c073dbd7e137a712ddac9f519ee9c05b (diff) | |
Prevent span-regions in baseline becoming too small to see
Diffstat (limited to 'src/lib.ts')
| -rw-r--r-- | src/lib.ts | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4,3 +4,4 @@ export const MIN_DATE = -1000; export const MAX_DATE = 1000; +export const SCALES = [200, 50, 10, 1, 0.2]; // Timeline gets divided into units of SCALES[0], then SCALES[1], etc |
