mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
use tab only
This commit is contained in:
parent
aa9139ad78
commit
8af03454cb
3 changed files with 3 additions and 3 deletions
|
@ -4119,7 +4119,7 @@ class App extends React.Component<AppProps, AppState> {
|
|||
|
||||
if (event.key === KEYS.ESCAPE) {
|
||||
editorJotaiStore.set(shapeSwitchAtom, null);
|
||||
} else if (event.key === KEYS.SLASH || event.key === KEYS.TAB) {
|
||||
} else if (event.key === KEYS.TAB) {
|
||||
event.preventDefault();
|
||||
|
||||
if (editorJotaiStore.get(shapeSwitchAtom)?.type === "panel") {
|
||||
|
|
|
@ -177,7 +177,7 @@ const Hint = ({
|
|||
className={clsx("ShapeSwitch__Hint", "animation")}
|
||||
>
|
||||
<div className="key">/</div>
|
||||
<div className="text">{t("labels.slash")}</div>
|
||||
<div className="text">{t("labels.tab")}</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -166,7 +166,7 @@
|
|||
"copyElementLink": "Copy link to object",
|
||||
"linkToElement": "Link to object",
|
||||
"wrapSelectionInFrame": "Wrap selection in frame",
|
||||
"slash": "Slash"
|
||||
"tab": "Tab"
|
||||
},
|
||||
"elementLink": {
|
||||
"title": "Link to object",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue