snapdrop

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

commit f07e651c7a599446b916c1a9538ed6ee70308b93
parent 0115c6a4de27b8e6553c639804d86d8b977c8703
Author: RobinLinus <RobinLinus@users.noreply.github.com>
Date:   Mon,  1 Feb 2021 16:39:30 +0100

Merge pull request #248 from Bellisario/patch-1

Updated ui.js animation stop timeout because of a bad show on portrait mode
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 @@ -27,7 +27,7 @@ class PeersUI { if ($(peer.id)) return; // peer already exists const peerUI = new PeerUI(peer); $$('x-peers').appendChild(peerUI.$el); - setTimeout(e => window.animateBackground(false), 1000); // Stop animation + setTimeout(e => window.animateBackground(false), 1750); // Stop animation } _onPeers(peers) {