diff --git a/src/UI/components/overlay.tsx b/src/UI/components/overlay.tsx index 4c26fc3..91480dc 100644 --- a/src/UI/components/overlay.tsx +++ b/src/UI/components/overlay.tsx @@ -125,9 +125,6 @@ export class Overlay extends React.Component { const canvas = this.ref.current!; const scale = Math.pow(2, this.props.cords.uScale); - // TODO calculate cords differently to be less expensive - // TODO also add cache - // TODO also profile the thing const cords = this.props.cords.gridToScreen(this.x, this.y)!; if (!cords) { const ctx = canvas.getContext("2d")!;