Added a comment explaining why we need the delay

This commit is contained in:
Robert
2019-01-15 15:43:10 +01:00
committed by GitHub
parent fe689e6855
commit f9cd22d908

View File

@@ -245,7 +245,9 @@ When building a custom infinite editor view you can use the same components as a
// emit event to let components know an editor has been removed
eventsService.emit("appState.editors.close", args);
// delay required to map the properties to the correct editor due
// to another delay in the closing animation of the editor
$timeout(function() {
// rebind keyboard shortcuts for the new editor in focus
rebindKeyboardShortcuts();