From 13aa20630d5340c4359a57f346680413c1161cbc Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Thu, 11 Jan 2024 00:41:08 -0500 Subject: [PATCH] Bring summary UI to top when opened --- src/ui/summary-ui-handler.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/summary-ui-handler.ts b/src/ui/summary-ui-handler.ts index e23e4c781..cbf13c329 100644 --- a/src/ui/summary-ui-handler.ts +++ b/src/ui/summary-ui-handler.ts @@ -189,6 +189,8 @@ export default class SummaryUiHandler extends UiHandler { this.pokemon = args[0] as PlayerPokemon; this.summaryUiMode = args.length > 1 ? args[1] as SummaryUiMode : SummaryUiMode.DEFAULT; + this.scene.ui.bringToTop(this.summaryContainer); + this.summaryContainer.setVisible(true); this.cursor = -1;