snapdrop

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

commit 14ead247ed02f0ff1e15b3aff58b9f7488e69829
parent 94b256668530adf50b4b4a1778ca0c4597a06eb4
Author: RobinLinus <robinlinus@users.noreply.github.com>
Date:   Sun, 20 Dec 2020 22:13:22 +0100

Fix bug in offset

Diffstat:
Mclient/scripts/ui.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/scripts/ui.js b/client/scripts/ui.js @@ -563,7 +563,7 @@ Events.on('load', () => { c.width = w; c.height = h; let offset = h > 380 ? 100 : 65; - offset = h > 800 ? 116 : h; + offset = h > 800 ? 116 : offset; x0 = w / 2; y0 = h - offset; dw = Math.max(w, h, 1000) / 13;