Update src/ui/modifier-select-ui-handler.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
This commit is contained in:
ImperialSympathizer 2024-09-13 19:34:51 -04:00 committed by GitHub
parent f8f157a319
commit 393b733cc9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -203,7 +203,7 @@ export default class ModifierSelectUiHandler extends AwaitableUiHandler {
}
// Set "Continue" button height based on number of rows in healing items shop
const continueButton = this.continueButtonContainer.getAt(0) as Phaser.GameObjects.Text;
const continueButton = this.continueButtonContainer.getAt<Phaser.GameObjects.Text>(0);
continueButton.y = optionsYOffset - 5;
continueButton.setVisible(this.options.length === 0);