Remove reminder comment
This commit is contained in:
@@ -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")!;
|
||||||
|
|||||||
Reference in New Issue
Block a user