fix logic operator
This commit is contained in:
@@ -51,7 +51,7 @@
|
|||||||
playerStyle({ width, height, showController }) {
|
playerStyle({ width, height, showController }) {
|
||||||
return inlineCss({
|
return inlineCss({
|
||||||
width: `${width}px`,
|
width: `${width}px`,
|
||||||
height: `${height + showController ? controllerHeight : 0}px`,
|
height: `${height + (showController ? controllerHeight : 0)}px`,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user