Skip to content

Commit beba66c

Browse files
authored
Changing either the pet size or theme should reload the window without having to restart VS Code (#797)
1 parent 540c13b commit beba66c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/extension/extension.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,9 @@ class PetWebviewContainer implements IPetPanel {
933933
webview.html = this._getHtmlForWebview(webview);
934934
}
935935

936-
public update() {}
936+
public update() {
937+
this._update();
938+
}
937939

938940
protected _getHtmlForWebview(webview: vscode.Webview) {
939941
// Local path to main script run in the webview

0 commit comments

Comments
 (0)