Skip to content

Commit 9c7b4c4

Browse files
committed
focus left pane after preview
1 parent 8d84ccf commit 9c7b4c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/maji.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ export default {
236236
this.previewUI.addItem(this.majiView,{index:0});
237237
this.majiView.loadContent();
238238
//this.previewUI.activate();
239+
atom.workspace.getCenter().getPanes()[0].activate();
239240

240241
this.previewUI.onWillDestroy(function () {
241242
console.log("Shutting down server")

0 commit comments

Comments
 (0)