diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-12-25 13:48:32 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-12-25 13:48:32 +1100 |
| commit | ad450156a712fcf1d05c0dd7d71ef793e3e73d56 (patch) | |
| tree | e99ba464987e6bf28aedd03d7b15d60b474b0b50 /src/store.ts | |
| parent | 6a21aa07c0bd6f601206cc12e659ebd6319364b6 (diff) | |
Add minor ticks
Add lower-bounds parameter to getScaleRatio()
Diffstat (limited to 'src/store.ts')
| -rw-r--r-- | src/store.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store.ts b/src/store.ts index 66d73ac..5f30bc6 100644 --- a/src/store.ts +++ b/src/store.ts @@ -23,9 +23,9 @@ export const useStore = defineStore('store', { tickLen: 16, largeTickLen: 32, endTickSz: 8, // Size for start/end ticks + tickLabelHeight: 10, minTickSep: 30, // Smallest px separation between ticks minLastTicks: 3, // When at smallest scale, don't zoom further into less than this many ticks - tickLabelHeight: 10, defaultEndTickOffset: 0.5, // Default fraction of a unit to offset start/end ticks // mainlineBreadth: 80, // Breadth of mainline area (including ticks and labels) |
