Actually use the synced setting
This commit is contained in:
parent
3ae97348f8
commit
97b9cf6402
1 changed files with 3 additions and 1 deletions
|
@ -112,7 +112,9 @@ module.exports = React.createClass({
|
||||||
document.webkitFullscreenElement);
|
document.webkitFullscreenElement);
|
||||||
const maxVideoHeight = fullscreenElement ? null : this.props.maxHeight;
|
const maxVideoHeight = fullscreenElement ? null : this.props.maxHeight;
|
||||||
const localVideoFeedClasses = classNames("mx_VideoView_localVideoFeed",
|
const localVideoFeedClasses = classNames("mx_VideoView_localVideoFeed",
|
||||||
{"mx_VideoView_localVideoFeed_flipped": UserSettingsStore.getSyncedSetting}
|
{ "mx_VideoView_localVideoFeed_flipped":
|
||||||
|
UserSettingsStore.getSyncedSetting('VideoView.flipVideoHorizontally'),
|
||||||
|
},
|
||||||
);
|
);
|
||||||
return (
|
return (
|
||||||
<div className="mx_VideoView" ref={this.setContainer} onClick={this.props.onClick}>
|
<div className="mx_VideoView" ref={this.setContainer} onClick={this.props.onClick}>
|
||||||
|
|
Loading…
Reference in a new issue