Explorar el Código

Merge branch 'hotfix/修复云机坐标偏移' of Software/android-cloud-H5 into develop

zengzhixiang hace 3 años
padre
commit
8855447c2e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      static/screenAndroid/WXdraw.js

+ 1 - 1
static/screenAndroid/WXdraw.js

@@ -239,7 +239,7 @@ var draw_graph = function (graphType, obj) {
       var verticalWidthX =
         touchfor[i].pageX * (window.currentPhoneSize.width / vowidth);
       var verticalHeightY =
-        touchfor[i].pageY * (window.currentPhoneSize.width / voheight);
+        touchfor[i].pageY * (window.currentPhoneSize.height / voheight);
       var idx = ongoingTouches.findIndex(function (ele) {
         return ele.identifier === touchfor[i].identifier;
       });