tableView bug?

tableView bug?
0.0 0


When I set a CCTableView unvisible, it will continue active when I touch it. Is there anything I missed?


Could you post your code? Seeing as there is a check in CCTableView::ccTouchBegan for this :

    if (!this->isVisible()) {
        return false;

it should work.


You are right. But I use TableView in a layer, when I touch the menu, I set the layer invisible, but the tableview will action in background. I fixed it with two more code. when I set the layer invisible, I set the tableview untouchable.