Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

Commit 466bb4f

Browse files
Merge pull request #323 from microsoft/users/t-xunguy/render-fix
Fix issue where incorrect device was loaded
2 parents b71bc27 + 9f4265c commit 466bb4f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/extension.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ export async function activate(context: vscode.ExtensionContext) {
132132
const openWebview = () => {
133133
if (currentPanel && currentPanel.webview) {
134134
messagingService.setWebview(currentPanel.webview);
135+
currentPanel.webview.html = webviewService.getWebviewContent(
136+
WEBVIEW_TYPES.SIMULATOR,
137+
true
138+
);
135139
currentPanel.reveal(vscode.ViewColumn.Beside);
136140
} else {
137141
currentPanel = vscode.window.createWebviewPanel(

0 commit comments

Comments
 (0)