Skip to content

Commit b9ed51b

Browse files
committed
ボトムバーのショートカット
1 parent c414785 commit b9ed51b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

js/shortcut.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ moveUpFast: 'shift+up',
2626
moveDownFast: 'shift+down',
2727
projectSave:!isMacOs ? 'ctrl+s' : 'command+s',
2828
projectLoad:!isMacOs ? 'ctrl+o' : 'command+o',
29+
toggleBottomBar:!isMacOs ? 'ctrl+b' : 'command+b',
2930
}
3031

3132
var isLongPressDirection=false;
@@ -181,6 +182,12 @@ e.preventDefault();
181182
}
182183
});
183184

185+
// bind toggle bottom bar shortcut
186+
hotkeys(hotkeysMap.toggleBottomBar,'all',function (e) {
187+
btmToggleDrawer();
188+
e.preventDefault();
189+
});
190+
184191
// bind fast move shortcuts (10px)
185192
hotkeys(hotkeysMap.moveLeftFast,'all',function (e) {
186193
moveActiveObjectFast('left',e);

0 commit comments

Comments
 (0)