Merge branch 'notifications'

This commit is contained in:
isUnknown 2024-12-19 11:12:11 +01:00
commit caf6f721fb
34 changed files with 671 additions and 417 deletions

View file

@ -36,6 +36,11 @@ const draftComment = ref(null);
const isViewerDisabled = ref(false);
watch(openedFile, () => {
removeCommentMarkers();
setCommentMarkers();
});
watch(isCommentsOpen, (newVal) => {
if (newVal) {
setCommentMarkers();
@ -45,6 +50,8 @@ watch(isCommentsOpen, (newVal) => {
});
watch(openedFile, (newVal) => {
if (!location.href.includes("virtual-sample")) return;
isViewerDisabled.value = true;
setTimeout(() => {