We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d8a390 commit 89bd0c8Copy full SHA for 89bd0c8
src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.js
@@ -1235,8 +1235,8 @@ export default defineComponent({
1235
pipWindowHeight.value = pipWindow.height * devicePixelRatio
1236
}
1237
1238
- const playerWidth = computed(() => pipWindowWidth.value ?? videoElementWidth.value)
1239
- const playerHeight = computed(() => pipWindowHeight.value ?? videoElementHeight.value)
+ const playerWidth = computed(() => Math.round(pipWindowWidth.value ?? videoElementWidth.value))
+ const playerHeight = computed(() => Math.round(pipWindowHeight.value ?? videoElementHeight.value))
1240
1241
// #endregion video event handlers
1242
0 commit comments