Skip to content

Commit b7ae8e7

Browse files
committed
change t to b
1 parent 8ddd556 commit b7ae8e7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/learningmap/src/LearningMapEditor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export function LearningMapEditor({
9191
{ action: t.shortcuts.addTaskNode, shortcut: "Ctrl+A" },
9292
{ action: t.shortcuts.addTopicNode, shortcut: "Ctrl+O" },
9393
{ action: t.shortcuts.addImageNode, shortcut: "Ctrl+I" },
94-
{ action: t.shortcuts.addTextNode, shortcut: "Ctrl+T" },
94+
{ action: t.shortcuts.addTextNode, shortcut: "Ctrl+B" },
9595
{ action: t.shortcuts.deleteNodeEdge, shortcut: "Delete" },
9696
{ action: t.shortcuts.togglePreviewMode, shortcut: "Ctrl+P" },
9797
{ action: t.shortcuts.toggleDebugMode, shortcut: "Ctrl+D" },
@@ -654,7 +654,7 @@ export function LearningMapEditor({
654654
addNewNode("image");
655655
}
656656
// add text node shortcut - changed to Ctrl+T
657-
if ((e.ctrlKey || e.metaKey) && e.key.toLowerCase() === 't' && !e.shiftKey) {
657+
if ((e.ctrlKey || e.metaKey) && e.key.toLowerCase() === 'b' && !e.shiftKey) {
658658
e.preventDefault();
659659
addNewNode("text");
660660
}

0 commit comments

Comments
 (0)