Fix svelte warnings

This commit is contained in:
SirBlob committed 2026-11-01 18:42:28 -05:00
1 parent c664f573b8
commit 87079dcb88
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -80,7 +80,7 @@
onfocusin={onfocus}
>
<div class="window-surface">
<header class="title-bar" onpointerdown={(event) => trackPointer(event, ondrag)}>
<header class="title-bar" role="presentation" onpointerdown={(event) => trackPointer(event, ondrag)}>
<span class="title">
<span class="app-name"><Icon {icon} width="15" />{title}</span>
{#if path}
+1 -1
View File
@@ -25,7 +25,7 @@
const context: CommandContext = {
print: (...newBlocks) => blocks.push(...newBlocks),
clear: () => (blocks = []),
exit: onexit,
exit: () => onexit(),
openPage,
openUrl,
setTheme: (themeId) => themeState.set(themeId),
+1 -1
View File
@@ -121,7 +121,7 @@
'0': controls.fit,
r: controls.rotateRight,
R: controls.rotateLeft,
Escape: onclose
Escape: () => onclose()
};
function handleKeydown(event: KeyboardEvent) {