mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Redraw editors when panel appears
If not done, the editors have zero height.
This commit is contained in:
committed by
Corey Johnson & Kevin Sawicki
parent
2d5bb8bd8b
commit
655fec2f18
@@ -52,6 +52,8 @@ class ConfigView extends View
|
||||
@panels.children().hide()
|
||||
@panelMenu.children('.active').removeClass('active')
|
||||
@panelsByName[name].show()
|
||||
for editorElement in @panelsByName[name].find(".editor")
|
||||
$(editorElement).view().redraw()
|
||||
@panelMenu.children("[name='#{name}']").addClass('active')
|
||||
@activePanelName = name
|
||||
@panelToShow = null
|
||||
|
||||
Reference in New Issue
Block a user