Skip to content

Commit

Permalink
Emit resize even upon theme change
Browse files Browse the repository at this point in the history
  • Loading branch information
arjxn-py committed Oct 20, 2024
1 parent 41bb0eb commit ba0b2f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/schema/src/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export class JupyterCadModel implements IJupyterCadModel {
this,
IChangedArgs<string, string | null, string>
> {
window.dispatchEvent(new Event('resize'));
return this._themeChanged;
}

Expand Down

0 comments on commit ba0b2f6

Please sign in to comment.