mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-14 10:09:31 -07:00
add doc for the code
This commit is contained in:
@@ -21,9 +21,10 @@ export const layers: HTMLDivElement[] = [
|
||||
document.getElementById('layer5') as HTMLDivElement
|
||||
]
|
||||
|
||||
// layers position caching
|
||||
// top layer position caching
|
||||
let topLayerPos: number[] = [0, 0]
|
||||
|
||||
// set top layer position
|
||||
export const topLayerPosSet = (): void => {
|
||||
layerPosSet(topLayerPos[0], topLayerPos[1], layers[4])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user