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:
commit
f07e651c7a
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class PeersUI {
|
||||||
if ($(peer.id)) return; // peer already exists
|
if ($(peer.id)) return; // peer already exists
|
||||||
const peerUI = new PeerUI(peer);
|
const peerUI = new PeerUI(peer);
|
||||||
$$('x-peers').appendChild(peerUI.$el);
|
$$('x-peers').appendChild(peerUI.$el);
|
||||||
setTimeout(e => window.animateBackground(false), 1000); // Stop animation
|
setTimeout(e => window.animateBackground(false), 1750); // Stop animation
|
||||||
}
|
}
|
||||||
|
|
||||||
_onPeers(peers) {
|
_onPeers(peers) {
|
||||||
|
|
Loading…
Reference in a new issue