Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit de7b75b4 authored by Miranda Kephart's avatar Miranda Kephart
Browse files

Ensure screenshot dismissal velocity is never 0

It's possible to get a value of 0 passed in to the dismissal animation,
which isn't handled correctly when attempting to set a minimum velocity.
This change fixes the minimum velocity calculation so it is correct even
if the input is 0f.

Bug: 362859928
Fix: 362859928
Test: manual. invoke screenshots, move screenshot UI and let it return
to its original location, then move it out again and move pointer
straight up and release. screenshot should dismiss normally without
getting 'stuck'.
Flag: EXEMPT trivial fix

Change-Id: Idc963cf322d11be007b5e9167e783c7a2661a03b
parent 20f915ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment