Skip to content

Commit 4f9ef0c

Browse files
fix(web): fix invalid viewer style for dynamic resizing (#829)
1 parent cd19cfc commit 4f9ef0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-client/iron-remote-desktop/src/iron-remote-desktop.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@
478478
479479
remoteDesktopService.dynamicResizeObservable.subscribe((evt) => {
480480
loggingService.info(`Dynamic resize!, width: ${evt.width}, height: ${evt.height}`);
481-
setViewerStyle(evt.height.toString(), evt.width.toString(), true);
481+
setViewerStyle(evt.height.toString() + 'px', evt.width.toString() + 'px', true);
482482
});
483483
484484
remoteDesktopService.changeVisibilityObservable.subscribe((val) => {

0 commit comments

Comments
 (0)