File tree 1 file changed +2
-2
lines changed
extensions/GUI/CCControlExtension
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ cc.Control = cc.LayerRGBA.extend({
220
220
for ( var i = 0 , len = cc . CONTROL_EVENT_TOTAL_NUMBER ; i < len ; i ++ ) {
221
221
// If the given controlEvents bitmask contains the current event
222
222
if ( ( controlEvents & ( 1 << i ) ) )
223
- this . removeTargetWithActionForControlEvent ( target , action , 1 << i ) ;
223
+ this . _removeTargetWithActionForControlEvent ( target , action , 1 << i ) ;
224
224
}
225
225
} ,
226
226
@@ -305,7 +305,7 @@ cc.Control = cc.LayerRGBA.extend({
305
305
* @param {function } action A selector identifying an action message. Pass NULL to remove all action messages paired with target.
306
306
* @param {Number } controlEvent A control event for which the action message is sent. See "CCControlEvent" for constants.
307
307
*/
308
- removeTargetWithActionForControlEvent :function ( target , action , controlEvent ) {
308
+ _removeTargetWithActionForControlEvent :function ( target , action , controlEvent ) {
309
309
// Retrieve all invocations for the given control event
310
310
//<CCInvocation*>
311
311
var eventInvocationList = this . _dispatchListforControlEvent ( controlEvent ) ;
You can’t perform that action at this time.
0 commit comments