fix fade animation when closing the last infinite editor

This commit is contained in:
Mads Rasmussen
2018-12-10 14:20:57 +01:00
parent 98cc48c0d3
commit c61ac406bb

View File

@@ -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 = [];
}
}));