kopia lustrzana https://github.com/c9/core
Expose command for maximizing console
rodzic
f4e8b6de1f
commit
d7a8ea3543
|
@ -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",
|
||||
|
|
Ładowanie…
Reference in New Issue