mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 Add an global XR object to main externs.
Because Chrome has a very strange XR global object.
This commit is contained in:
3
frontend/vendor/main.externs.js
vendored
3
frontend/vendor/main.externs.js
vendored
@@ -1,4 +1,7 @@
|
|||||||
|
var XR = function() {};
|
||||||
|
|
||||||
var TopLevel = {
|
var TopLevel = {
|
||||||
|
"XR": function() {},
|
||||||
"isDragging": function() {},
|
"isDragging": function() {},
|
||||||
"offsetX": function() {},
|
"offsetX": function() {},
|
||||||
"offsetY": function() {},
|
"offsetY": function() {},
|
||||||
|
|||||||
Reference in New Issue
Block a user