From 765b36feefd7effccb3723b83ef9cfb40de36931 Mon Sep 17 00:00:00 2001 From: Mark Tolmacs Date: Tue, 11 Nov 2025 20:52:07 +0100 Subject: [PATCH] chore: Remove hint for V1 Signed-off-by: Mark Tolmacs --- packages/excalidraw/components/HintViewer.tsx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/packages/excalidraw/components/HintViewer.tsx b/packages/excalidraw/components/HintViewer.tsx index 29282c3c59..1fd255c8fe 100644 --- a/packages/excalidraw/components/HintViewer.tsx +++ b/packages/excalidraw/components/HintViewer.tsx @@ -1,7 +1,6 @@ import { CANVAS_SEARCH_TAB, DEFAULT_SIDEBAR } from "@excalidraw/common"; import { - isArrowElement, isFlowchartNodeElement, isImageElement, isLinearElement, @@ -44,16 +43,6 @@ const getHints = ({ const { activeTool, isResizing, isRotating, lastPointerDownWith } = appState; const multiMode = appState.multiElement !== null; - if ( - appState.selectedLinearElement?.isDragging || - isArrowElement(appState.newElement) - ) { - return t("hints.arrowBindModifiers", { - shortcut_1: getTaggedShortcutKey("Alt"), - shortcut_2: getTaggedShortcutKey("CtrlOrCmd"), - }); - } - if ( appState.openSidebar?.name === DEFAULT_SIDEBAR.name && appState.openSidebar.tab === CANVAS_SEARCH_TAB &&