summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWonseop Kim <wonseop.kim@samsung.com>2013-09-16 16:55:19 +0900
committerheeju Joo <heeju.joo@samsung.com>2013-10-04 14:17:27 +0900
commit3b104098ce062fea05b926cb45be21ee3df24774 (patch)
tree158263edb7191950f9caf11118a050bc332c6519
parent6ca89710a627de5ef41fefa47fe4365b2d01a48a (diff)
downloadweb-ui-fw-3b104098ce062fea05b926cb45be21ee3df24774.tar.gz
web-ui-fw-3b104098ce062fea05b926cb45be21ee3df24774.tar.bz2
web-ui-fw-3b104098ce062fea05b926cb45be21ee3df24774.zip
gallery3d: Fix an issue of canvas height during initialization.
Resolves #N_SE-50278. Change-Id: I538eb68b83de74caadedba0ba8ed02d02219fcdf
-rw-r--r--src/js/widgets/jquery.mobile.tizen.gallery3d.js1
1 files changed, 1 insertions, 0 deletions
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;