From 3b104098ce062fea05b926cb45be21ee3df24774 Mon Sep 17 00:00:00 2001 From: Wonseop Kim Date: Mon, 16 Sep 2013 16:55:19 +0900 Subject: gallery3d: Fix an issue of canvas height during initialization. Resolves #N_SE-50278. Change-Id: I538eb68b83de74caadedba0ba8ed02d02219fcdf --- src/js/widgets/jquery.mobile.tizen.gallery3d.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/widgets/jquery.mobile.tizen.gallery3d.js b/src/js/widgets/jquery.mobile.tizen.gallery3d.js index 1b7338e0..37b6efaa 100644 --- a/src/js/widgets/jquery.mobile.tizen.gallery3d.js +++ b/src/js/widgets/jquery.mobile.tizen.gallery3d.js @@ -732,6 +732,7 @@ define( [ gl.enable( gl.DEPTH_TEST ); gl.depthFunc( gl.LEQUAL ); + canvas.style.width = "100%"; canvas.width = self._VIEWPORT_WIDTH; canvas.height = self._VIEWPORT_HEIGHT; gl.viewportWidth = canvas.width; -- cgit v1.2.3