diff options
| author | Terry Truong <terry06890@gmail.com> | 2023-01-22 23:30:45 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2023-01-23 00:45:30 +1100 |
| commit | b700d1ae15e0a5380eaf7cc677a3abf17620d5d4 (patch) | |
| tree | 578336faaaed55fc2d72f0d0d3a1c9d80e467792 /src/store.ts | |
| parent | d28324f9b716baaaa76cc3a9e2cdf1d54d6040d1 (diff) | |
Replace ResizeObserver using width/height props
For increasing compatibility with older devices
Diffstat (limited to 'src/store.ts')
| -rw-r--r-- | src/store.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/store.ts b/src/store.ts index 5a8e0c7..6482dfe 100644 --- a/src/store.ts +++ b/src/store.ts @@ -40,6 +40,7 @@ export type StoreState = { reqImgs: boolean, // Only show events with images showEventCounts: boolean, showBaseLine: boolean, + baseLineBreadth: number, searchSuggLimit: number, ctgs: { // Specifies event categories, and which ones should be visible event: boolean, @@ -124,6 +125,7 @@ function getDefaultState(): StoreState { reqImgs: true, showEventCounts: true, showBaseLine: true, + baseLineBreadth: 56, searchSuggLimit: 10, ctgs: { event: true, |
