mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-02 11:26:46 +02:00
Update better-xcloud.user.js
This commit is contained in:
2
dist/better-xcloud.user.js
vendored
2
dist/better-xcloud.user.js
vendored
@@ -5246,7 +5246,7 @@ var resizeVideoPlayer = function() {
|
||||
height = Math.min(parentRect.height, Math.ceil(height));
|
||||
$video.style.width = `${width}px`;
|
||||
$video.style.height = `${height}px`;
|
||||
$video.style.objectFit = "contain";
|
||||
$video.style.objectFit = PREF_RATIO === "16:9" ? "contain" : "fill";
|
||||
} else {
|
||||
$video.style.width = "100%";
|
||||
$video.style.height = "100%";
|
||||
|
Reference in New Issue
Block a user