Skip to content

Commit

Permalink
update force priority for beta 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Jan 24, 2024
1 parent b2216fd commit 3d7016a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/layers/_bases/CvoltonAlertLayerStub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,10 @@ void CvoltonAlertLayerStub::onCloseThunk(CCObject* sender) {
void CvoltonAlertLayerStub::onClose(CCObject* sender) {
setKeypadEnabled(false);
removeFromParentAndCleanup(true);
}

void CvoltonAlertLayerStub::show(){
FLAlertLayer::show();

cocos::handleTouchPriority(this);
}
1 change: 1 addition & 0 deletions src/layers/_bases/CvoltonAlertLayerStub.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ class CvoltonAlertLayerStub : public FLAlertLayer {
void onCloseThunk(CCObject* sender);
virtual void onClose(CCObject* sender);
void keyBackClicked();
void show();
};

0 comments on commit 3d7016a

Please sign in to comment.