mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-27 01:06:09 +00:00
Bring summary UI to top when opened
This commit is contained in:
parent
0741478d24
commit
13aa20630d
@ -189,6 +189,8 @@ export default class SummaryUiHandler extends UiHandler {
|
|||||||
this.pokemon = args[0] as PlayerPokemon;
|
this.pokemon = args[0] as PlayerPokemon;
|
||||||
this.summaryUiMode = args.length > 1 ? args[1] as SummaryUiMode : SummaryUiMode.DEFAULT;
|
this.summaryUiMode = args.length > 1 ? args[1] as SummaryUiMode : SummaryUiMode.DEFAULT;
|
||||||
|
|
||||||
|
this.scene.ui.bringToTop(this.summaryContainer);
|
||||||
|
|
||||||
this.summaryContainer.setVisible(true);
|
this.summaryContainer.setVisible(true);
|
||||||
this.cursor = -1;
|
this.cursor = -1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user