Remove reminder comment

This commit is contained in:
2025-02-15 13:21:53 +01:00
parent e0d1da3f11
commit e11a847110
-3
View File
@@ -125,9 +125,6 @@ export class Overlay extends React.Component<Props, State> {
const canvas = this.ref.current!; const canvas = this.ref.current!;
const scale = Math.pow(2, this.props.cords.uScale); 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)!; const cords = this.props.cords.gridToScreen(this.x, this.y)!;
if (!cords) { if (!cords) {
const ctx = canvas.getContext("2d")!; const ctx = canvas.getContext("2d")!;