Fix missing inverse transformations in float widget

This commit is contained in:
Héctor Ramón Jiménez 2025-05-04 00:36:56 +02:00
parent 6a1f99e99d
commit fe95b26d53
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 16 additions and 41 deletions

View file

@ -210,7 +210,6 @@ fn card<'a>(
.content_fit(ContentFit::Cover)
.opacity(thumbnail.fade_in.interpolate(0.0, 1.0, now)),
)
.opaque(false)
.scale(thumbnail.zoom.interpolate(1.0, 1.1, now))
.translate(move |bounds, viewport| {
bounds.zoom(1.1).offset(&viewport.shrink(10))