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:
Clément Pons
2025-10-15 14:34:12 +02:00
parent a577e3ccfc
commit 443612cc58
18 changed files with 12166 additions and 465 deletions

View File

@@ -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();