Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit be59585

Browse files
authored
Merge pull request #185 from UnityTech/yczhang
Fix typo.
2 parents 14f2bc7 + f8a01bf commit be59585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ mergeInto(LibraryManager.library, {
995995
if (window["performance"] && window["performance"]["now"]) return window["performance"]["now"](); else return Date.now();
996996
}),
997997

998-
fillDeviceMotionEventData: function(eventStruct, e, target) {
998+
fillDeviceOrientationEventData: function(eventStruct, e, target) {
999999
HEAPF64[JSEvents.deviceOrientationEvent >> 3] = JSEvents.tick();
10001000
HEAPF64[JSEvents.deviceOrientationEvent + 8 >> 3] = e.alpha;
10011001
HEAPF64[JSEvents.deviceOrientationEvent + 16 >> 3] = e.beta;

0 commit comments

Comments
 (0)