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