mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-21 15:26:17 -04:00
fix: typo in function name
This commit is contained in:
parent
0724487132
commit
6e4e791ebc
1 changed files with 2 additions and 2 deletions
|
@ -578,7 +578,7 @@ Events.on('load', () => {
|
||||||
}
|
}
|
||||||
window.onresize = init;
|
window.onresize = init;
|
||||||
|
|
||||||
function drawCicrle(radius) {
|
function drawCircle(radius) {
|
||||||
ctx.beginPath();
|
ctx.beginPath();
|
||||||
let color = Math.round(255 * (1 - radius / Math.max(w, h)));
|
let color = Math.round(255 * (1 - radius / Math.max(w, h)));
|
||||||
ctx.strokeStyle = 'rgba(' + color + ',' + color + ',' + color + ',0.1)';
|
ctx.strokeStyle = 'rgba(' + color + ',' + color + ',' + color + ',0.1)';
|
||||||
|
@ -592,7 +592,7 @@ Events.on('load', () => {
|
||||||
function drawCircles() {
|
function drawCircles() {
|
||||||
ctx.clearRect(0, 0, w, h);
|
ctx.clearRect(0, 0, w, h);
|
||||||
for (let i = 0; i < 8; i++) {
|
for (let i = 0; i < 8; i++) {
|
||||||
drawCicrle(dw * i + step % dw);
|
drawCircle(dw * i + step % dw);
|
||||||
}
|
}
|
||||||
step += 1;
|
step += 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue