fix logic operator

This commit is contained in:
Yanzhen Yu
2020-02-28 16:41:50 +08:00
parent a4e49ba741
commit fd9095f654

View File

@@ -51,7 +51,7 @@
playerStyle({ width, height, showController }) {
return inlineCss({
width: `${width}px`,
height: `${height + showController ? controllerHeight : 0}px`,
height: `${height + (showController ? controllerHeight : 0)}px`,
});
},
},