From ba0b2f61a65e3ba55a7db566f75e766ab3c468ec Mon Sep 17 00:00:00 2001 From: arjxn-py Date: Sun, 20 Oct 2024 21:43:12 +0530 Subject: [PATCH] Emit resize even upon theme change --- packages/schema/src/model.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/schema/src/model.ts b/packages/schema/src/model.ts index d5ccf20d..9cf764ce 100644 --- a/packages/schema/src/model.ts +++ b/packages/schema/src/model.ts @@ -62,6 +62,7 @@ export class JupyterCadModel implements IJupyterCadModel { this, IChangedArgs > { + window.dispatchEvent(new Event('resize')); return this._themeChanged; }