fix logic operator

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent a56c15c32b
commit 1a6bd7a5f8

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`,
});
},
},