Add documentation to addModalPanel api

This commit is contained in:
Will Binns-Smith
2017-08-14 09:56:43 -07:00
parent 236065d0f6
commit 128f702784
3 changed files with 8 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ class PanelContainerElement extends HTMLElement {
if (this.model.isModal()) {
this.hideAllPanelsExcept(panel)
this.subscriptions.add(panel.onDidChangeVisible(visible => {
if (visible) this.hideAllPanelsExcept(panel)
if (visible) { this.hideAllPanelsExcept(panel) }
}))
if (panel.autoFocus) {