You've already forked obsidian-visualiser
Floater pinned true handler, SQL schema update to handle private/public notes on character, fix Canvas zoom debounce on move.
This commit is contained in:
@@ -44,11 +44,11 @@ export const a: Prose = {
|
||||
return dom('div', { class: 'w-[600px] h-[600px] group-data-[pinned]:h-full group-data-[pinned]:w-full h-[600px] relative w-[600px] relative' }, [canvas.container]);
|
||||
}
|
||||
return div('');
|
||||
})).current], { position: 'bottom-start', pinned: false, title: properties?.label }) : element;
|
||||
})).current], { position: 'bottom-start', pinned: false, title: properties?.label, href: nav.href }) : element;
|
||||
}
|
||||
}
|
||||
export const preview: Prose = {
|
||||
custom(properties: { href: string, class?: Class, label: string, events? }, children) {
|
||||
custom(properties: { href: string, class?: Class, label: string }, children) {
|
||||
const href = properties.href as string;
|
||||
const { hash, pathname } = parseURL(href);
|
||||
const router = useRouter();
|
||||
|
||||
Reference in New Issue
Block a user