Skip to content

CCScrollLayer should not respond to touches when not visible #107

@svenresch

Description

@svenresch

I can't think of a reason that a CCScrollLayer should respond to touches for when not visible.

Adding this to the implementation might be a good idea.

-(BOOL) ccTouchBegan:(UITouch *)touch withEvent:(UIEvent *)event
{
if ( !visible_ ) {
return NO;
}
...

Thx!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions