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

Skip to content
Commit cff3bc53 authored by omarmt's avatar omarmt
Browse files

Add snapToIdleIfClose in BaseSceneTransitionLayoutState

Check if a transition is in progress. If the progress value is near 0 or
 1, immediately snap to the closest scene.
We ignore the currentScene, assuming the user wants to go to the closest
 scene.

Test: atest SceneTransitionLayoutStateTest
Bug: 317063114
Flag: NA
Change-Id: I874adb96813a3071fa0a782bb9b1b355d6ef0f2c
parent d9797f55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment