diff --git a/src/element/showSelectedShapeActions.ts b/src/element/showSelectedShapeActions.ts index 4c0d5b0a..14a7694e 100644 --- a/src/element/showSelectedShapeActions.ts +++ b/src/element/showSelectedShapeActions.ts @@ -7,9 +7,10 @@ export const showSelectedShapeActions = ( elements: readonly NonDeletedExcalidrawElement[], ) => Boolean( - !appState.viewModeEnabled && + (!appState.viewModeEnabled && + appState.activeTool.type !== "custom" && (appState.editingElement || - getSelectedElements(elements, appState).length || (appState.activeTool.type !== "selection" && - appState.activeTool.type !== "eraser")), + appState.activeTool.type !== "eraser"))) || + getSelectedElements(elements, appState).length, );