fix(ui): fade overflowing scroll content into its container background #399
No reviewers
Labels
No labels
area/build
area/install
area/mods
area/saves
area/tooling
area/ui
area/updates
ci: approved
good first issue
gpu/amd
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
platform/linux
platform/steam-deck
platform/windows
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher!399
Loading…
Reference in a new issue
No description provided.
Delete branch "Jer9/LongshotLauncher:fix/scroll-fade-container-bg"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Follow-up to #394.
In #394, the
48px#000000bottom overflow scrim stood out as a dark rectangle againstInk.pageandInk.wellsurfaces. This switchesScrollViewandPageListto fade overflowing content into the container's own background (32px,0% -> 65% -> 100%):fade-coloronScrollViewandPageListisInk.page.DialogCard(Ink.black),SidePanel(Ink.black, includingReleaseBody), andsetup.slint(Ink.black) passfade-color: Ink.black.Ink.wellcontainers (license-document.slint,build-progress.slint,mods.slint) passfade-color: Ink.well.Screenshots
Before (
origin/main) vs After (fix/scroll-fade-container-bg), rendered withMinimalSoftwareWindowusing synthetic data (see attached PNGs):fade-compare-page.png(overflowingSavesPageListonInk.page)fade-compare-dialog.png(overflowingGraphicsDriverDialogonInk.black)Testing
cargo clippy --locked --all-targets -- -D warningspassed (0 warnings).cargo test --locked controller::testspassed (1/1).Before (
origin/main) vs After (PR #399) side-by-side comparisons (rendered withMinimalSoftwareWindowusing synthetic data):fade-compare-page.png: overflowingSavesPageListonInk.pagefade-compare-dialog.png: overflowingGraphicsDriverDialogonInk.black