@@ -108,8 +108,8 @@ class VideoPlay {
// 实时存储目前视频的大小位置;
this.width = width;
this.height = height;
- this.posX = Math.round(posX / window.devicePixelRatio);
- this.posY = Math.round(posY / window.devicePixelRatio);
+ this.posX = Math.round(posX * window.devicePixelRatio);
+ this.posY = Math.round(posY * window.devicePixelRatio);
// this.width = width;
// this.height = height;