3.3 ScrollView和其上子节点的触摸侦听不到

大体上就是有一个cc.ScrollView,加了一个叫做mapBaseLayer的cc.Layer容器,mapBaseLayer上有很多的城市cc.Sprite
大体上是这么个流程加进去的

local scrollBase = cc.ScrollView:create()
scrollBase:setDelegate()
scrollBase:registerScriptHandler(onRoll, cc.SCROLLVIEW_SCRIPT_SCROLL)

local mapBaseLayer = display.newLayer()
mapBaseLayer:setPosition(display.left,display.bottom)
mapBaseLayer:setContentSize(cc.size(tMapWidth,tMapHeight))
    
scrollBase:setContainer(mapBaseLayer)


local cityItem = display.newSprite("#" .. cityData.img .. ".png")
cityItem:setPosition(cc.p(0,0))
cityItem:setTouchEnabled(true)
cityItem:setTouchCaptureEnabled(true)
cityItem:setTouchSwallowEnabled(false)
cityItem:setTouchMode(cc.TOUCH_MODE_ONE_BY_ONE)

cityItem:addNodeEventListener(cc.NODE_TOUCH_EVENT,function(evt)
    print(evt.name)        
    return true
end,1)


mapBaseLayer :addChild(cityItem)


```


问题就是cityItem上注册的监听捕获不到,求高手解决!

PS:上面很多不相干的代码都略去了,显示啥的都没问题,就是触摸没有反应

已解决,发现是其上面有其他类生成的遮罩Layer,通过设置该层的setTouchSwallowEnabled为false
还有就是现在移除node对象的NODE_TOUCH_CAPTURE_EVENT时为何莫名的会把node对象的touchEnable设置为false