Virtual whiteboard for sketching hand-drawn like diagrams
feat: show group/group and link action in mobile (#4795)
Aakansha Doshib2767924de03
diff --git a/src/components/Actions.tsx b/src/components/Actions.tsxindex 8d42357126..21e1577385 100644--- a/src/components/Actions.tsx+++ b/src/components/Actions.tsx@@ -150,12 +150,12 @@ export const SelectedShapeActions = ({</div></fieldset>)}- {!isMobile && !isEditing && targetElements.length > 0 && (+ {!isEditing && targetElements.length > 0 && (<fieldset><legend>{t("labels.actions")}</legend><div className="buttonList">- {renderAction("duplicateSelection")}- {renderAction("deleteSelectedElements")}+ {!isMobile && renderAction("duplicateSelection")}+ {!isMobile && renderAction("deleteSelectedElements")}{renderAction("group")}{renderAction("ungroup")}{targetElements.length === 1 && renderAction("link")}diff --git a/src/element/Hyperlink.tsx b/src/element/Hyperlink.tsxindex 02e6a45c25..b07ac745ad 100644--- a/src/element/Hyperlink.tsx+++ b/src/element/Hyperlink.tsx@@ -122,7 +122,8 @@ export const Hyperlink = ({if (appState.draggingElement ||appState.resizingElement ||- appState.isRotating+ appState.isRotating ||+ appState.openMenu) {return null;}@@ -248,6 +249,7 @@ export const actionLink = register({appState: {...appState,showHyperlinkPopup: "editor",+ openMenu: null,},commitToHistory: true,};