Skip to content

Update form button UI/UX and support text wrapping#36324

Merged
peppy merged 3 commits intoppy:masterfrom
frenzibyte:better-form-button
Jan 14, 2026
Merged

Update form button UI/UX and support text wrapping#36324
peppy merged 3 commits intoppy:masterfrom
frenzibyte:better-form-button

Conversation

@frenzibyte
Copy link
Copy Markdown
Member

To be used in settings overlay.

Preview:

CleanShot.2026-01-12.at.23.51.45.mp4

@frenzibyte frenzibyte requested a review from peppy January 13, 2026 04:54
@frenzibyte frenzibyte added type/cosmetic Only affects the game visually. Doesn't affect things working or not working. area:settings labels Jan 13, 2026
{
backgroundColour = value;

if (IsLoaded && value != null)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably Debug.Assert(value != null) rather than this? since setting null here is super undefined behaviour in the state you have it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also why isn't this calling updateState? BackgroundColour is used there too.

Move this logic inside updateState and use a standard flow instead?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be addressed in 3f4d1b7

@peppy peppy merged commit 9171844 into ppy:master Jan 14, 2026
7 of 9 checks passed
@frenzibyte frenzibyte deleted the better-form-button branch January 14, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:settings size/L type/cosmetic Only affects the game visually. Doesn't affect things working or not working.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants