mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Add documentation to addModalPanel api
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user