Expose command for maximizing console

pull/385/head
Brady Dowling 2016-11-30 21:16:11 +00:00
rodzic f4e8b6de1f
commit d7a8ea3543
1 zmienionych plików z 13 dodań i 0 usunięć

Wyświetl plik

@ -56,6 +56,19 @@ define(function(require, module, exports) {
}
}, plugin);
commands.addCommand({
name: "maximizeconsole",
group: "Panels",
exec: function(editor, args) {
if (!maximized) {
maximizeConsoleHeight();
}
else {
restoreConsoleHeight();
}
}
}, plugin);
// Menus
menus.addItemByPath("View/Console", new apf.item({
type: "check",