浏览代码

Merge pull request #185 from UnityTech/yczhang

Fix typo.
/main
GitHub 6 年前
当前提交
56848254
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Runtime/Plugins/platform/webgl/UIWidgetsCanvasDevicePixelRatio_2019.1.jslib

2
Runtime/Plugins/platform/webgl/UIWidgetsCanvasDevicePixelRatio_2019.1.jslib


if (window["performance"] && window["performance"]["now"]) return window["performance"]["now"](); else return Date.now();
}),
fillDeviceMotionEventData: function(eventStruct, e, target) {
fillDeviceOrientationEventData: function(eventStruct, e, target) {
HEAPF64[JSEvents.deviceOrientationEvent >> 3] = JSEvents.tick();
HEAPF64[JSEvents.deviceOrientationEvent + 8 >> 3] = e.alpha;
HEAPF64[JSEvents.deviceOrientationEvent + 16 >> 3] = e.beta;

正在加载...
取消
保存