Skip to content

(Run Select) update next page text if optional pages change#1437

Open
MetaNite64 wants to merge 1 commit into
Steamodded:mainfrom
MetaNite64:update-run-select-button-text
Open

(Run Select) update next page text if optional pages change#1437
MetaNite64 wants to merge 1 commit into
Steamodded:mainfrom
MetaNite64:update-run-select-button-text

Conversation

@MetaNite64

Copy link
Copy Markdown
Contributor

This is best explained with an example case:
I added a new RunSelectPage to my mod that allows the player to toggle stickers in the run. It came in between the stake select page and starting the run. However, I wanted a specific stake to skip the sticker page entirely (as it would force all stickers to be enabled). Without this PR, the text for the button that takes you to the next page (or starts the run) would not update properly, staying stuck on what it displayed upon first entering the page.
See attached video for a demonstration of the new behavior (watch the button switch from "Select Stickers >" to "Play"). Note that the button already functioned properly, it's merely a visual issue that this PR addresses.

Video_2026-07-01_21-24-05.mp4

Additional Info:

  • I didn't modify api's or I've made a PR to the wiki repo.
  • I didn't modify api's or I've updated lsp definitions.
  • I didn't make new lovely files or all new lovely files have appropriate priority.

in case optional pages change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant