mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-20 23:33:50 +02:00
some fix for nav
This commit is contained in:
@@ -370,7 +370,7 @@
|
||||
|
||||
const handleFolderCycleNavigation = (item) => {
|
||||
if (!item?.entries?.length) {
|
||||
return [];
|
||||
return;
|
||||
}
|
||||
const entries = item.entries.filter((entry) => Boolean(entry?.routeName || entry?.path));
|
||||
if (!entries.length) {
|
||||
@@ -593,13 +593,6 @@
|
||||
}
|
||||
};
|
||||
|
||||
function handleKeydown(e) {
|
||||
if (e.ctrlKey && e.key === 'd') {
|
||||
e.preventDefault();
|
||||
directAccessPaste();
|
||||
}
|
||||
}
|
||||
|
||||
const handleSupportLink = (id) => {
|
||||
supportMenuVisible.value = false;
|
||||
const target = links[id];
|
||||
@@ -738,7 +731,6 @@
|
||||
|
||||
onMounted(async () => {
|
||||
await loadNavMenuConfig();
|
||||
window.addEventListener('keydown', handleKeydown);
|
||||
|
||||
if (!sentryErrorReporting.value) return;
|
||||
try {
|
||||
@@ -750,10 +742,6 @@
|
||||
console.error('Error setting up Sentry feedback:', error);
|
||||
}
|
||||
});
|
||||
|
||||
onUnmounted(() => {
|
||||
window.removeEventListener('keydown', handleKeydown);
|
||||
});
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
Reference in New Issue
Block a user