From facd03b6adfa6196e01b55a7c31f2cfa6c9239fe Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 5 Dec 2025 11:54:31 +0200 Subject: [PATCH] feat(launch_bar): horizontal scroll using mouse wheel --- apps/client/src/widgets/launch_bar/LauncherContainer.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/client/src/widgets/launch_bar/LauncherContainer.tsx b/apps/client/src/widgets/launch_bar/LauncherContainer.tsx index 4ec648b52..3a7dda14f 100644 --- a/apps/client/src/widgets/launch_bar/LauncherContainer.tsx +++ b/apps/client/src/widgets/launch_bar/LauncherContainer.tsx @@ -10,6 +10,7 @@ import SyncStatus from "./SyncStatus"; import HistoryNavigationButton from "./HistoryNavigation"; import AiChatButton, { CommandButton, CustomWidget, NoteLauncher, QuickSearchLauncherWidget, ScriptLauncher, TodayLauncher } from "./LauncherDefinitions"; import { useTriliumEvent } from "../react/hooks"; +import { onWheelHorizontalScroll } from "../widget_utils"; export default function LauncherContainer({ isHorizontalLayout }: { isHorizontalLayout: boolean }) { const childNotes = useLauncherChildNotes(); @@ -22,6 +23,7 @@ export default function LauncherContainer({ isHorizontalLayout }: { isHorizontal flexGrow: 1, flexDirection: isHorizontalLayout ? "row" : "column" }} + onWheel={isHorizontalLayout ? onWheelHorizontalScroll : undefined} > {childNotes?.map(childNote => { if (childNote.type !== "launcher") {