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

Commit 3f9cba65 authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

Move UserActionDistance to TransitionSpec

This CL moves UserActionDistance from UserActionResult to
TransitionSpec. I realized while adding custom distances to the demo
that this made more sense: usually the distance is the same when going
from A => B and B => A, and the previous API would require us to specify
the distance twice. Moreover, it was impossible to assign a distance to
a generic transition (for example from any scene to Shade or from Shade
to any scene).

Bug: 308961608
Test: SwipeToSceneTest
Flag: N/A
Change-Id: I24f9cf346f37d81dc19f738665b872e2efcd94d9
parent 9c0fbb1a
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