diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-07-16 16:00:11 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-07-16 16:00:11 +0200 |
| commit | 8848fe6657bed6ee32d8f6ccba9c034edd5f40b0 (patch) | |
| tree | 939536647cc4a558876b249f2819e4a949f76c57 /app/client/common | |
| parent | 9c4bb1ffc6098ec2ece30695ba4b2814c9db6868 (diff) | |
hsl sliders
Diffstat (limited to 'app/client/common')
| -rw-r--r-- | app/client/common/player.component.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/client/common/player.component.js b/app/client/common/player.component.js index 6b3d56f..546c650 100644 --- a/app/client/common/player.component.js +++ b/app/client/common/player.component.js @@ -2,8 +2,9 @@ import { h, Component } from 'preact' import { connect } from 'react-redux' function Player(props) { + const className = props.fullscreen ? 'player fullscreen' : 'player' return ( - <div className='player'> + <div className={className}> <canvas width={props.width} height={props.height} /> </div> ) |
