slidingView: Set current page before starting animation

If animations are disabled, the animation ends when calling play
returns. Therefore, everything has to be set before calling play when
animations can be disabled.

Closes #368
This commit is contained in:
Sophie Herold 2024-09-04 20:33:06 +02:00
parent 168c628f00
commit 2412fb90ee
3 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1 @@
When disabling animations in the OS and using the buttons to change the image, the wrong image was shown, disabling features like zoom.