Deactivate filmstrip in settings for now.

This commit is contained in:
Håvar Aambø Fosstveit
2019-04-02 10:36:34 +02:00
parent 66375ec8cf
commit 829052de87
2 changed files with 13 additions and 10 deletions
@@ -10,7 +10,8 @@ import HiddenPeers from '../Containers/HiddenPeers';
import ResizeObserver from 'resize-observer-polyfill';
const RATIO = 1.334;
const PADDING = 60;
const PADDING_V = 50;
const PADDING_H = 20;
const styles = () =>
({
@@ -24,8 +25,10 @@ const styles = () =>
justifyContent : 'center',
alignItems : 'center',
alignContent : 'center',
paddingTop : 30,
paddingBottom : 30
paddingTop : 40,
paddingBottom : 10,
paddingLeft : 10,
paddingRight : 10
},
peerContainer :
{
@@ -74,8 +77,8 @@ class Democratic extends React.PureComponent
return;
}
const width = this.peersRef.current.clientWidth;
const height = this.peersRef.current.clientHeight - PADDING;
const width = this.peersRef.current.clientWidth - PADDING_H;
const height = this.peersRef.current.clientHeight - PADDING_V;
let x, y, space;