Fix missing inverse transformations in float widget
This commit is contained in:
parent
6a1f99e99d
commit
fe95b26d53
2 changed files with 16 additions and 41 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue