apex-ui
apex-ui copied to clipboard
Tree tab wtf?
not sure where this came from, but it's bumping the tree down
hmm the active tab is no longer black either.
seems like a state issue in Atom, it thinks the active pain is not active
Yeah, here's the relevant Atom issue for the active pane problem: https://github.com/atom/atom/issues/14283
One work-around is to open and close a pane when Atom starts:
openNewPane = ->
atom.workspace.open(null, { split: "right" })
closeActivePane = ->
atom.workspace.getActiveTextEditor().destroy()
defer = (fn) ->
setTimeout fn, 1
openThenClose = ->
openNewPane().then ->
defer closeActivePane
defer openThenClose