mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
fix direct access shortcut key cannot work
This commit is contained in:
@@ -453,13 +453,13 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
window.addEventListener('keydown', handleKeydown);
|
||||||
if (!sentryErrorReporting.value) return;
|
if (!sentryErrorReporting.value) return;
|
||||||
try {
|
try {
|
||||||
import('@sentry/vue').then((Sentry) => {
|
import('@sentry/vue').then((Sentry) => {
|
||||||
const feedback = Sentry.getFeedback();
|
const feedback = Sentry.getFeedback();
|
||||||
feedback?.attachTo(document.getElementById('feedback'));
|
feedback?.attachTo(document.getElementById('feedback'));
|
||||||
});
|
});
|
||||||
window.addEventListener('keydown', handleKeydown);
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Error setting up Sentry feedback:', error);
|
console.error('Error setting up Sentry feedback:', error);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user