From 9900015cfebc20f52864efd4b5e3167ecea3f31f Mon Sep 17 00:00:00 2001 From: Joshua Horowitz Date: Thu, 19 Dec 2024 01:39:35 -0500 Subject: [PATCH] tsc errors --- src/ui.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui.ts b/src/ui.ts index aaa5f4d..67733ac 100644 --- a/src/ui.ts +++ b/src/ui.ts @@ -1065,6 +1065,7 @@ async function main() { isDropTarget && tool.type === "workspace-pick" && tool.source === idxInWorkspace && + cell.type === "item" && tool.index === cell.idx ) { lyr.fillStyle = "rgba(200,200,200,1)"; @@ -1599,7 +1600,7 @@ async function main() { const renderEscapeRouteMark = ( lyr: Layer, centerPos: Vec2, - onClick?: Function, + onClick?: () => void, disabled?: boolean, ) => { const markRadius = 13;