mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: Add hint for double click to insert text (#2056)
This commit is contained in:
parent
ab7073abdb
commit
643e6bd08d
2 changed files with 5 additions and 0 deletions
|
@ -27,6 +27,10 @@ const getHints = ({ appState, elements }: Hint) => {
|
|||
return t("hints.freeDraw");
|
||||
}
|
||||
|
||||
if (elementType === "text") {
|
||||
return t("hints.text");
|
||||
}
|
||||
|
||||
const selectedElements = getSelectedElements(elements, appState);
|
||||
if (
|
||||
isResizing &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue