Skip to content

Touch controls: the Opacity slider fades the glass; a Solid button style - #558

Merged
125hz merged 1 commit into
willfaust:mainfrom
125hz:fix/touch-control-style
Nov 4, 2026
Merged

125hz merged 1 commit into
willfaust:mainfrom
125hz:fix/touch-control-style

Conversation

@125hz

@125hz 125hz commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

Two touch-control changes.

Opacity slider fix. The Opacity slider (in-game menu, and a game's Control opacity) seemed to do nothing on iOS 26. Every control sits in one GlassEffectContainer, which renders the glass of all its children as one layer over them, so a button's own .opacity faded its label and left the glass as it was. The opacity now goes on the container (and on the group before iOS 26), so the whole set fades.

Button style. A Glass / Solid picker in the in-game menu under Opacity and Size, and in Settings › Appearance (one setting, remembered for every game). Glass is the system's Liquid Glass, as before. Solid draws each control as a plain opaque disc, with the A/B/X/Y colours as solid fills and no glass; the Opacity slider still fades them. The overlay's top bar stays glass.

Tests: two new checks in check-frontend.py; docs/LIBRARY.md updated. Device-tested in the 0.2.0 tree (ui-1103 build).

🤖 Generated with Claude Code

The Opacity slider (the in-game menu, a game's Control opacity) seemed
to do nothing on iOS 26. Every control sits in one GlassEffectContainer,
which renders the glass of all its children as one layer over them, so
a button's own .opacity faded its label and left the glass as it was.
The opacity now goes on the container (and on the group before 26), so
the whole set fades.

Button style, in the in-game menu under Opacity and Size and in
Settings › Appearance: Glass is the system's Liquid Glass, as before;
Solid draws each control as a plain opaque disc, the A/B/X/Y colours as
solid fills, no glass. The Opacity slider still fades them. The choice
is remembered for every game; the overlay's top bar stays glass.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@125hz
125hz merged commit 0e2f01e into willfaust:main Nov 4, 2026
1 check passed
125hz added a commit that referenced this pull request Nov 4, 2026
…yle (#558)

The Opacity slider (the in-game menu, a game's Control opacity) seemed
to do nothing on iOS 26. Every control sits in one GlassEffectContainer,
which renders the glass of all its children as one layer over them, so
a button's own .opacity faded its label and left the glass as it was.
The opacity now goes on the container (and on the group before 26), so
the whole set fades.

Button style, in the in-game menu under Opacity and Size and in
Settings › Appearance: Glass is the system's Liquid Glass, as before;
Solid draws each control as a plain opaque disc, the A/B/X/Y colours as
solid fills, no glass. The Opacity slider still fades them. The choice
is remembered for every game; the overlay's top bar stays glass.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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