add image cache function

This commit is contained in:
Spedon
2023-03-14 23:31:02 +08:00
parent d5a280a98a
commit 37d62f85fb
2 changed files with 20 additions and 0 deletions

View File

@@ -3,8 +3,10 @@ import { trackMouseInit } from './trackMouse'
import { thresholdCtlInit } from './thresholdCtl'
import { imagesArrayLen } from './dataFetch'
import { vwRefreshInit } from './overlay'
import { preloader } from './imageCache'
function init(): void {
preloader(0)
vwRefreshInit()
imgIndexSpanUpdate(0, imagesArrayLen)
thresholdCtlInit()