From 831bc75560bb66661a89f4597c70313636fee26c Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Fri, 12 Jan 2024 00:09:11 -0500 Subject: [PATCH] Fix layering for egg-related UIs when option select is visible --- src/ui/egg-gacha-ui-handler.ts | 2 ++ src/ui/egg-list-ui-handler.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/ui/egg-gacha-ui-handler.ts b/src/ui/egg-gacha-ui-handler.ts index 722111427..7cdc3d5ca 100644 --- a/src/ui/egg-gacha-ui-handler.ts +++ b/src/ui/egg-gacha-ui-handler.ts @@ -231,6 +231,8 @@ export default class EggGachaUiHandler extends MessageUiHandler { this.updateVoucherCounts(); + this.getUi().bringToTop(this.eggGachaContainer); + this.eggGachaContainer.setVisible(true); return true; diff --git a/src/ui/egg-list-ui-handler.ts b/src/ui/egg-list-ui-handler.ts index e554f8b02..489566651 100644 --- a/src/ui/egg-list-ui-handler.ts +++ b/src/ui/egg-list-ui-handler.ts @@ -91,6 +91,8 @@ export default class EggListUiHandler extends MessageUiHandler { show(args: any[]): boolean { super.show(args); + this.getUi().bringToTop(this.eggListContainer); + this.eggListContainer.setVisible(true); let e = 0;