Skip to content

Commit 4e12139

Browse files
author
linshun
committed
issue cocos2d#1840: fixed touch improvement bug.
1 parent 98d6206 commit 4e12139

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cocos2d/platform/CCEGLView.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ cc.EGLView = cc.Class.extend(/** @lends cc.EGLView# */{
5353
_designResolutionSize:cc.size(0, 0),
5454
// the view port size
5555
_viewPortRect:cc.rect(0,0,0,0),
56+
_contentTranslateLeftTop : {left: 0, top: 0},
5657
// the view name
5758
_viewName:"",
5859
_scaleX:1,

0 commit comments

Comments
 (0)