Skip to content

Commit 235e061

Browse files
committed
fixed cocos2d#2227 Synchronous cc.ScrollView to latest version of Cocos2d-X
1 parent 4e47810 commit 235e061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/GUI/CCScrollView/CCScrollView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ cc.ScrollView = cc.Layer.extend({
8787
},
8888

8989
registerWithTouchDispatcher:function () {
90-
cc.Director.getInstance().getTouchDispatcher().addTargetedDelegate(this, 0, false);
90+
cc.Director.getInstance().getTouchDispatcher().addTargetedDelegate(this, this.getTouchPriority(), false);
9191
},
9292

9393
/**

0 commit comments

Comments
 (0)