chenjun

全屏后会向下移,待解决

@@ -167,7 +167,7 @@ export struct WDPlayerRenderView { @@ -167,7 +167,7 @@ export struct WDPlayerRenderView {
167 this.xComponentController.setXComponentSurfaceRect({ 167 this.xComponentController.setXComponentSurfaceRect({
168 surfaceWidth: info.size.width, 168 surfaceWidth: info.size.width,
169 surfaceHeight: info.size.width / this.videoRatio, 169 surfaceHeight: info.size.width / this.videoRatio,
170 - offsetY: this.isPad ? this.topSafeHeight : (info.size.height - height) / 2 170 + // offsetY: this.isPad ? this.topSafeHeight : (info.size.height - height) / 2
171 }); 171 });
172 return 172 return
173 } 173 }