From 091eda539f22bc2920017b0c076c0822c1cbb146 Mon Sep 17 00:00:00 2001 From: Rupert Hausberger Date: Tue, 2 Aug 2016 00:03:44 +0200 Subject: [PATCH] update --- sae/video.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sae/video.js b/sae/video.js index 91491f3..936ebab 100644 --- a/sae/video.js +++ b/sae/video.js @@ -278,9 +278,11 @@ function SAEO_Video() { hWnd.div.style.width = String(currentmode.native_width)+"px"; hWnd.div.style.height = String(currentmode.native_height)+"px"; hWnd.div.appendChild(hWnd.canvas); - } else + } else { hWnd.div = null; - + hWnd.canvas.style.width = String(currentmode.native_width)+"px"; + hWnd.canvas.style.height = String(currentmode.native_height)+"px"; + } hWnd.shown = true; } else if (nCmdShow == SW_HIDE && hWnd.shown) {