chore: Remove hint for V1

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
This commit is contained in:
Mark Tolmacs
2025-11-11 20:52:07 +01:00
parent 1560afc30a
commit 765b36feef

View File

@@ -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 &&