Skip to content

Commit 6d68a8d

Browse files
committed
Update index.ts
1 parent a1c524f commit 6d68a8d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/scan/src/new-outlines/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ export const getCanvasEl = () => {
348348
window.addEventListener('resize', () => {
349349
if (!isResizeScheduled) {
350350
isResizeScheduled = true;
351+
// TODO(Alexis): bindable
351352
setTimeout(() => {
352353
const width = window.innerWidth;
353354
const height = window.innerHeight;
@@ -382,6 +383,7 @@ export const getCanvasEl = () => {
382383
window.addEventListener('scroll', () => {
383384
if (!isScrollScheduled) {
384385
isScrollScheduled = true;
386+
// TODO(Alexis): bindable
385387
setTimeout(() => {
386388
const { scrollX, scrollY } = window;
387389
const deltaX = scrollX - prevScrollX;

0 commit comments

Comments
 (0)