Skip to content

Commit

Permalink
Make overrides state carry over when sharing
Browse files Browse the repository at this point in the history
  • Loading branch information
OfekShilon committed May 18, 2024
1 parent a2b75ac commit 80b3c1a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions static/panes/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,10 @@ export class Compiler extends MonacoPane<monaco.editor.IStandaloneCodeEditor, Co

this.revealJumpStack = [];

if (this.compiler) {
this.compiler.activeOverrides = state.overrides;
}

// MonacoPane's registerButtons is not called late enough, we still need to init some buttons with new data
this.initPanerButtons();

Expand Down

0 comments on commit 80b3c1a

Please sign in to comment.