diff options
| author | 2021-04-21 08:56:29 +0000 | |
|---|---|---|
| committer | 2021-04-21 08:56:29 +0000 | |
| commit | 87c254de0ea13e2ac250d6c69309b24da7e73edc (patch) | |
| tree | 35f154fa3daaffe0edcdd19479c83e08183f5a9b /cmds/bootanimation/BootAnimation.h | |
| parent | aaf353b24cd22b82be13fd69a5785a204524b7c1 (diff) | |
| parent | a12987512cd5712411a3279c14f173abdd55ad49 (diff) | |
Merge "bootanimation: ensure that if a percent is shown, we'll get to 100."
Diffstat (limited to 'cmds/bootanimation/BootAnimation.h')
| -rw-r--r-- | cmds/bootanimation/BootAnimation.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/bootanimation/BootAnimation.h b/cmds/bootanimation/BootAnimation.h index b52222c799b0..1b47fefc6866 100644 --- a/cmds/bootanimation/BootAnimation.h +++ b/cmds/bootanimation/BootAnimation.h @@ -187,7 +187,8 @@ private: void resizeSurface(int newWidth, int newHeight); void projectSceneToWindow(); - bool shouldStopPlayingPart(const Animation::Part& part, int fadedFramesCount); + bool shouldStopPlayingPart(const Animation::Part& part, int fadedFramesCount, + int lastDisplayedProgress); void checkExit(); void handleViewport(nsecs_t timestep); |