关闭编辑器后按照入栈顺序设置当前tab

This commit is contained in:
Van 2014-10-22 15:22:39 +08:00
parent 91ae76f0d0
commit 86e1d6ecc7
1 changed files with 12 additions and 8 deletions

View File

@ -163,7 +163,9 @@ var windows = {
windows.minBottom(); windows.minBottom();
windows.minSide(); windows.minSide();
if (wide.curEditor) {
wide.curEditor.focus(); wide.curEditor.focus();
}
windows.isMaxEditor = true; windows.isMaxEditor = true;
}, },
@ -176,7 +178,9 @@ var windows = {
windows.restoreBottom(); windows.restoreBottom();
windows.restoreSide(); windows.restoreSide();
if (wide.curEditor) {
wide.curEditor.focus(); wide.curEditor.focus();
}
windows.isMaxEditor = false; windows.isMaxEditor = false;
}, },