提交 389f7d39 编写于 作者: J jp9000

image-source: Play if play_pause() called while stopped

Causes the slideshow to start back up if it was stopped for whatever
reason previously.
上级 66863269
......@@ -463,8 +463,14 @@ static void ss_play_pause(void *data)
{
struct slideshow *ss = data;
ss->paused = !ss->paused;
ss->manual = ss->paused;
if (ss->stop) {
ss->stop = false;
ss->paused = false;
do_transition(ss, false);
} else {
ss->paused = !ss->paused;
ss->manual = ss->paused;
}
}
static void ss_restart(void *data)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册