fix fade animation when closing the last infinite editor
This commit is contained in:
@@ -208,7 +208,7 @@
|
||||
removeEditor(args.editor);
|
||||
}
|
||||
// close all editors
|
||||
if(args && args.editors.length === 0) {
|
||||
if(args && !args.editor && args.editors.length === 0) {
|
||||
scope.editors = [];
|
||||
}
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user