use _view directly

pull/3094/head
yann300 7 years ago
parent 3a2406284e
commit f8f950ceeb
  1. 6
      src/app.js

@ -544,11 +544,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
// ---------------- FilePanel --------------------
var filePanel = new FilePanel()
// TODO this should happen inside file-panel.js
var filepanelContainer = document.querySelector('#filepanel')
filepanelContainer.appendChild(filePanel.render())
self._view.leftpanel.appendChild(filePanel.render())
filePanel.event.register('resize', delta => self._adjustLayout('left', delta))
// ----------------- Renderer -----------------

Loading…
Cancel
Save