FONDLED THE CODE

This commit is contained in:
Chop
2022-02-23 22:20:30 +01:00
parent 5d54186c19
commit dc515f3316

View File

@@ -63,7 +63,7 @@ export default function Generator() {
} }
const ctx = canvas.getContext("2d"); const ctx = canvas.getContext("2d");
ctx.clearRect(0, 0, 600, 600); ctx.clearRect(0, 0, 700, 700);
// set line stroke and line width // set line stroke and line width
ctx.strokeStyle = "red"; ctx.strokeStyle = "red";
@@ -176,7 +176,7 @@ export default function Generator() {
</a> </a>
</div> </div>
<Pane className="ml-8 shadow-md rounded-md"> <Pane className="ml-8 shadow-md rounded-md">
<canvas id="canvas" height="600" width="600"></canvas> <canvas id="canvas" height="500" width="700"></canvas>
</Pane> </Pane>
</div> </div>
); );