Skip to content

Commit

Permalink
fix touch prio for nested popups
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Feb 2, 2024
1 parent fb72be8 commit 783c261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layers/_bases/CvoltonAlertLayerStub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,5 @@ void CvoltonAlertLayerStub::onClose(CCObject* sender) {
}

void CvoltonAlertLayerStub::registerWithTouchDispatcher() {
CCDirector::sharedDirector()->getTouchDispatcher()->addTargetedDelegate(this, -500, true);
CCDirector::sharedDirector()->getTouchDispatcher()->addTargetedDelegate(this, -250, true);
}

0 comments on commit 783c261

Please sign in to comment.