move footerUpdate function to overlay.ts and combine it with recenter function

This commit is contained in:
Spedon
2023-03-14 01:31:35 +08:00
parent f3d3efb4ff
commit c8e6ab505b
3 changed files with 21 additions and 18 deletions

View File

@@ -1,11 +1,11 @@
import { footerHeightUpdateInit } from './utils'
import { imgIndexSpanUpdate } from './indexDisp'
import { trackMouseInit } from './trackMouse'
import { thresholdCtlInit } from './thresholdCtl'
import { imagesArrayLen } from './dataFetch'
import { vwRefreshInit } from './overlay'
function init(): void {
footerHeightUpdateInit()
vwRefreshInit()
imgIndexSpanUpdate(0, imagesArrayLen)
thresholdCtlInit()
trackMouseInit()