snapdrop

A Progressive Web App for local file sharing
git clone http://git.hanabi.in/repos/snapdrop.git
Log | Files | Refs | README | LICENSE

commit 727caa93282a4affdba236932c8ea44ecf915289
parent 07244871328f7b90593086de642f94df91e4a0d8
Author: RobinLinus <RobinLinus@users.noreply.github.com>
Date:   Mon, 11 Jan 2021 12:49:53 +0100

Merge pull request #243 from jyash97/patch-1

fix: typo in function name
Diffstat:
Mclient/scripts/ui.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/client/scripts/ui.js b/client/scripts/ui.js @@ -578,7 +578,7 @@ Events.on('load', () => { } window.onresize = init; - function drawCicrle(radius) { + function drawCircle(radius) { ctx.beginPath(); let color = Math.round(255 * (1 - radius / Math.max(w, h))); ctx.strokeStyle = 'rgba(' + color + ',' + color + ',' + color + ',0.1)'; @@ -592,7 +592,7 @@ Events.on('load', () => { function drawCircles() { ctx.clearRect(0, 0, w, h); for (let i = 0; i < 8; i++) { - drawCicrle(dw * i + step % dw); + drawCircle(dw * i + step % dw); } step += 1; }