cc.TOUCH_ONE_BY_ONE mode force to swallow touch which it shouldn't
cc.TOUCH_ONE_BY_ONE mode force to swallow touch which it shouldn't
Bug #3673 [Closed]
- Status changed from New to Closed
- % Done changed from 0 to 100
Fixed
Status: | Closed | |
---|---|---|
Start date: | 2014-01-13 | |
Priority: | Normal | |
Due date: | ||
Assignee: | pandamicro | |
% Done: | 100% |
|
Category: | - | |
Target version: | v3.0 alpha |
All layers in cc.TOUCH_ONE_BY_ONE mode will be a targetedHandler in touch dispatcher. And they swallow touches automatically, user can’t configure the behavior.
We should add a swallow option in cc.Layer ’s setTouchEnabled function