From fb35dadf1bb862eefd01708b83c9cc1134ed41fa Mon Sep 17 00:00:00 2001 From: Keavon Chambers Date: Sun, 6 Sep 2026 23:19:06 -0700 Subject: [PATCH] Remove a couple of old frontend comments --- frontend/src/components/floating-menus/MenuList.svelte | 5 ----- frontend/src/components/widgets/inputs/DropdownInput.svelte | 1 - 2 files changed, 6 deletions(-) diff --git a/frontend/src/components/floating-menus/MenuList.svelte b/frontend/src/components/floating-menus/MenuList.svelte index 09dcb5664c..1d90d9cbe3 100644 --- a/frontend/src/components/floating-menus/MenuList.svelte +++ b/frontend/src/components/floating-menus/MenuList.svelte @@ -416,11 +416,6 @@ export function setHighlighted(newHighlight: MenuListEntry | undefined) { highlighted = newHighlight; - // Interactive menus should keep the active entry the same as the highlighted one - // if (interactive && newHighlight?.value !== activeEntry?.value && newHighlight) { - // dispatch("activeEntry", newHighlight); - // } - // Scroll into view let container = scroller?.div?.(); if (!container || !highlighted) return; diff --git a/frontend/src/components/widgets/inputs/DropdownInput.svelte b/frontend/src/components/widgets/inputs/DropdownInput.svelte index 7919df1a34..cb9d327787 100644 --- a/frontend/src/components/widgets/inputs/DropdownInput.svelte +++ b/frontend/src/components/widgets/inputs/DropdownInput.svelte @@ -74,7 +74,6 @@ if (activeEntrySkipWatcher) { activeEntrySkipWatcher = false; } else if (activeEntry !== DASH_ENTRY) { - // We need to set to the initial value first to track a right history step, as if we hover in initial selection. if (initialSelectedIndex !== undefined) dispatch("hoverInEntry", initialSelectedIndex); const index = entries.flat().findIndex((entry) => entry.value === activeEntry.value); if (index !== -1) {