wenhongquan %!s(int64=3) %!d(string=hai) anos
pai
achega
53fa2a2280
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      public/webClient/webClient_initWnd.js

+ 2 - 2
public/webClient/webClient_initWnd.js

@@ -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;