~exec64/imv-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] Pause slideshow when view->playing is false

Details
Message ID
<20220318204313.24900-1-r@gnzler.io>
DKIM signature
missing
Download raw message
Patch: +1 -1
From: Robert Guenzler <r@gnzler.io>

Signed-off-by: Robert Günzler <r@gnzler.io>
---
 src/imv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/imv.c b/src/imv.c
index 8380a12..4094d97 100644
--- a/src/imv.c
+++ b/src/imv.c
@@ -1130,7 +1130,7 @@ int imv_run(struct imv *imv)
    }

    /* handle slideshow */
    if (imv->slideshow.duration != 0.0) {
    if (imv_viewport_is_playing(imv->view) && imv->slideshow.duration != 0.0) {
      double dt = current_time - last_time;

      imv->slideshow.elapsed += dt;
-- 
2.34.1
Reply to thread Export thread (mbox)