From eb72584af8f5a598740a87ee024d0d899fdffc8d Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Thu, 26 May 2022 01:06:16 +1000 Subject: 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. --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/App.vue') 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 -- cgit v1.2.3