mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
The main pane always exists so it is independent of plugin load order.
This commit is contained in:
@@ -59,9 +59,7 @@
|
||||
<body>
|
||||
<div id='app-horizontal'>
|
||||
<div id='app-vertical'>
|
||||
<div class='main pane'>
|
||||
<div id="editor"></div>
|
||||
</div>
|
||||
<div class='main'></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -19,7 +19,9 @@ class Pane
|
||||
el.append @html
|
||||
|
||||
switch @position
|
||||
when 'top', 'main'
|
||||
when 'main'
|
||||
$('.main').replaceWith el
|
||||
when 'top'
|
||||
verticalDiv.prepend el
|
||||
when 'left'
|
||||
horizontalDiv.prepend el
|
||||
|
||||
Reference in New Issue
Block a user