diff --git a/src/lib/commandCenter/commandCenter.svelte b/src/lib/commandCenter/commandCenter.svelte
index 447ccb336..5fc9aad48 100644
--- a/src/lib/commandCenter/commandCenter.svelte
+++ b/src/lib/commandCenter/commandCenter.svelte
@@ -14,7 +14,6 @@
};
export const toggleCommandCenter = () => {
- console.log('toggleCommandCenter');
if (get(subPanels).length > 0) {
clearSubPanels();
} else {
diff --git a/src/lib/commandCenter/commands.ts b/src/lib/commandCenter/commands.ts
index c6a8afdfe..386536396 100644
--- a/src/lib/commandCenter/commands.ts
+++ b/src/lib/commandCenter/commands.ts
@@ -288,7 +288,6 @@ export const registerSearchers = {
runner((...searchers: Searcher[]) => {
searchersMap.update((curr) => {
- console.log(curr);
curr.set(uuid, [...searchers]);
return curr;
});
@@ -296,7 +295,6 @@ export const registerSearchers = {
return () => {
searchersMap.update((curr) => {
- console.log('deleting', curr, uuid);
curr.delete(uuid);
return curr;
});
diff --git a/src/lib/commandCenter/panels/template.svelte b/src/lib/commandCenter/panels/template.svelte
index bfc1bdcaa..043d6b22b 100644
--- a/src/lib/commandCenter/panels/template.svelte
+++ b/src/lib/commandCenter/panels/template.svelte
@@ -81,18 +81,15 @@
if (selectedIdx === 0) {
contentEl.scrollTo({
- top: 0,
- behavior: 'smooth'
+ top: 0
});
} else if (selectedIdx === resultEls.length - 1) {
contentEl.scrollTo({
- top: contentEl.scrollHeight,
- behavior: 'smooth'
+ top: contentEl.scrollHeight
});
} else if (selectedEl) {
selectedEl.scrollIntoView({
- block: 'nearest',
- behavior: 'smooth'
+ block: 'nearest'
});
}
});
@@ -272,10 +269,7 @@
class:first-nested={isFirstNested(i)}
class:last-nested={isLastNested(i)}>
{#if isSelected}
-
+
{/if}