| 538 | } |
| 539 | |
| 540 | void RemoveMenuItemWhenMove::onTouchMoved(Touch* touch, Event* event) |
| 541 | { |
| 542 | if (item) |
| 543 | { |
| 544 | item->removeFromParentAndCleanup(true); |
| 545 | item->release(); |
| 546 | item = nullptr; |
| 547 | } |
| 548 | } |
| 549 | |
| 550 | bool MenuTest::init() |
| 551 | { |
nothing calls this directly
no test coverage detected