Merge pull request #248 from Bellisario/patch-1

Updated ui.js animation stop timeout because of a bad show on portrait mode
This commit is contained in:
RobinLinus 2021-02-01 16:39:30 +01:00 committed by GitHub
commit f07e651c7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {