Fix svelte warnings
This commit is contained in:
1 parent
c664f573b8
commit
87079dcb88
3 files changed
+3
-3
No files matched your search
@@ -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}
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
'0': controls.fit,
|
||||
r: controls.rotateRight,
|
||||
R: controls.rotateLeft,
|
||||
Escape: onclose
|
||||
Escape: () => onclose()
|
||||
};
|
||||
|
||||
function handleKeydown(event: KeyboardEvent) {
|
||||
|
||||
Reference in new issue
Block a user