diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-05-26 01:06:16 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-05-26 01:06:16 +1000 |
| commit | eb72584af8f5a598740a87ee024d0d899fdffc8d (patch) | |
| tree | 64e418086157831f17233621ea5cf5e4320baebc /src | |
| parent | 67cf7da46692f86120a5e066a2f696074413d3f6 (diff) | |
Trim otol tree to avoid certain slowdowns
Some nodes had multiple ancestors with over 10k children, and
jump-searching to them could take almost a minute for vue to load.
Diffstat (limited to 'src')
| -rw-r--r-- | src/App.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/App.vue b/src/App.vue index b609204..f545e8f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -65,7 +65,7 @@ const defaultUiOpts = { shadowFocused: '0 0 1px 2px orange', infoIconSz: 18, //px infoIconMargin: 2, //px - tipThresholds: [[1, 'greenyellow'], [100, 'orange'], [1000, 'red']], + tipThresholds: [[1, 'greenyellow'], [30, 'orange'], [100, 'red']], headerColor: '#fafaf9', // For leaf tiles leafTilePadding: 4, //px |
