We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent defa375 commit 71b6810Copy full SHA for 71b6810
client/src/App.jsx
@@ -12,12 +12,6 @@ function App() {
12
let startY = 0;
13
const ctx = canvas.getContext("2d");
14
15
- const canvasHeight = canvas.getBoundingClientRect().height;
16
- const canvasWidht = canvas.getBoundingClientRect().width;
17
-
18
- const canvasOffsetX = canvas.getBoundingClientRect().left;
19
- const canvasOffsetY = canvas.getBoundingClientRect().top;
20
21
canvas.width = canvas.getBoundingClientRect().width;
22
canvas.height = canvas.getBoundingClientRect().height;
23
function drawLine(sx, sy, ex, ey) {
0 commit comments