Spaces:
Sleeping
Sleeping
Commit
·
9785afb
1
Parent(s):
d7081cd
Let's fix without AI...
Browse files- index.html +2 -2
index.html
CHANGED
|
@@ -14,7 +14,6 @@
|
|
| 14 |
display: flex;
|
| 15 |
justify-content: center;
|
| 16 |
align-items: center;
|
| 17 |
-
background-color: lightblue;
|
| 18 |
}
|
| 19 |
|
| 20 |
#canvas-container {
|
|
@@ -26,6 +25,7 @@
|
|
| 26 |
#drawing-canvas {
|
| 27 |
width: 100%;
|
| 28 |
height: 100%;
|
|
|
|
| 29 |
}
|
| 30 |
|
| 31 |
#text-container {
|
|
@@ -96,7 +96,7 @@
|
|
| 96 |
// Draw all circles
|
| 97 |
circles.forEach(circle => {
|
| 98 |
ctx.beginPath();
|
| 99 |
-
ctx.arc(circle.x, circle.y,
|
| 100 |
ctx.fillStyle = circle.color || 'white';
|
| 101 |
ctx.fill();
|
| 102 |
ctx.closePath();
|
|
|
|
| 14 |
display: flex;
|
| 15 |
justify-content: center;
|
| 16 |
align-items: center;
|
|
|
|
| 17 |
}
|
| 18 |
|
| 19 |
#canvas-container {
|
|
|
|
| 25 |
#drawing-canvas {
|
| 26 |
width: 100%;
|
| 27 |
height: 100%;
|
| 28 |
+
z-index:10;
|
| 29 |
}
|
| 30 |
|
| 31 |
#text-container {
|
|
|
|
| 96 |
// Draw all circles
|
| 97 |
circles.forEach(circle => {
|
| 98 |
ctx.beginPath();
|
| 99 |
+
ctx.arc(circle.x, circle.y, 100, 0, Math.PI * 2); // Radius of 50
|
| 100 |
ctx.fillStyle = circle.color || 'white';
|
| 101 |
ctx.fill();
|
| 102 |
ctx.closePath();
|