Skip to content

Commit 22ee662

Browse files
author
SeanLin
committed
Merge pull request cocos2d#949 from dingpinglv/Iss2227_SyncScrollView
fixed cocos2d#2227 Synchronous cc.ScrollView to latest version of Cocos2d-X
2 parents ec83d34 + 7dced1a commit 22ee662

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)