【m】自适应分辨率,不知道有没问题
This commit is contained in:
@@ -809,7 +809,7 @@ class UIRenderer {
|
||||
container.style.alignItems = 'center';
|
||||
container.style.justifyContent = 'center';
|
||||
// 优化图像渲染
|
||||
videoElement.style.imageRendering = 'pixelated';
|
||||
videoElement.style.imageRendering = 'auto';
|
||||
// 确保视频元素在容器内正确显示
|
||||
videoElement.style.maxWidth = '100%';
|
||||
videoElement.style.maxHeight = '100%';
|
||||
|
||||
Reference in New Issue
Block a user