From 850e256a946fae622bbf6188b50467ce834ebba2 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 15 Sep 2022 11:13:36 +0800 Subject: [PATCH] bugfix --- kivyblocks/ffpyplayer_video.py | 2 ++ kivyblocks/version.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/kivyblocks/ffpyplayer_video.py b/kivyblocks/ffpyplayer_video.py index d043b5d..a5be4af 100644 --- a/kivyblocks/ffpyplayer_video.py +++ b/kivyblocks/ffpyplayer_video.py @@ -108,7 +108,9 @@ class FFVideo(WidgetReady, Image): if self._player is None: return + Window.allow_screensaver = True if self.status == 'play': + Window.allow_screensaver = False self._player.set_pause(False) elif self.status == 'pause': self._player.set_pause(True) diff --git a/kivyblocks/version.py b/kivyblocks/version.py index 8300a52..1ec0501 100644 --- a/kivyblocks/version.py +++ b/kivyblocks/version.py @@ -1 +1 @@ -__version__ = '0.3.13' +__version__ = '0.3.14'