mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
Fix Linux wrist feed overlay
This commit is contained in:
+6
-6
@@ -1713,10 +1713,10 @@
|
|||||||
const fullFunctionName = item[0];
|
const fullFunctionName = item[0];
|
||||||
const jsonArg = item[1];
|
const jsonArg = item[1];
|
||||||
|
|
||||||
if (typeof window.$app === 'object' && typeof window.$app[fullFunctionName] === 'function') {
|
if (typeof window.$vr === 'object' && typeof window.$vr[fullFunctionName] === 'function') {
|
||||||
window.$app[fullFunctionName](jsonArg);
|
window.$vr[fullFunctionName](jsonArg);
|
||||||
} else {
|
} else {
|
||||||
console.error(`$app.${fullFunctionName} is not defined or is not a function`);
|
console.error(`$vr.${fullFunctionName} is not defined or is not a function`);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -1728,10 +1728,10 @@
|
|||||||
const fullFunctionName = item[0];
|
const fullFunctionName = item[0];
|
||||||
const jsonArg = item[1];
|
const jsonArg = item[1];
|
||||||
|
|
||||||
if (typeof window.$app === 'object' && typeof window.$app[fullFunctionName] === 'function') {
|
if (typeof window.$vr === 'object' && typeof window.$vr[fullFunctionName] === 'function') {
|
||||||
window.$app[fullFunctionName](jsonArg);
|
window.$vr[fullFunctionName](jsonArg);
|
||||||
} else {
|
} else {
|
||||||
console.error(`$app.${fullFunctionName} is not defined or is not a function`);
|
console.error(`$vr.${fullFunctionName} is not defined or is not a function`);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user