Skip to content

Commit

Permalink
Adding modified 'Tree' to the path-renaming fix
Browse files Browse the repository at this point in the history
  • Loading branch information
OfekShilon committed Aug 17, 2024
1 parent 7c96e66 commit 335c35b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/panes/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class Tree {
this.busyCompilers = {};
this.asmByCompiler = {};

this.paneRenaming = new PaneRenaming(this, state);
this.paneRenaming = new PaneRenaming(this, state, hub);

this.initInputs(state);
this.initButtons(state);
Expand Down Expand Up @@ -198,7 +198,7 @@ export class Tree {
});
this.container.on('destroy', this.close, this);

this.paneRenaming.on('renamePane', this.updateState.bind(this));
this.eventHub.on('renamePane', this.updateState.bind(this));

this.eventHub.on('editorOpen', this.onEditorOpen, this);
this.eventHub.on('editorClose', this.onEditorClose, this);
Expand Down

0 comments on commit 335c35b

Please sign in to comment.