From e20e5ff1ba96fcb4e8fe7aedcc3aab2fb6ffd2a5 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 8 Aug 2020 20:53:35 +0800 Subject: [PATCH] bugfix --- kivyblocks/newvideo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kivyblocks/newvideo.py b/kivyblocks/newvideo.py index 1dba6ec..c2875d6 100644 --- a/kivyblocks/newvideo.py +++ b/kivyblocks/newvideo.py @@ -31,7 +31,7 @@ class NewVideo(Video): if hasattr(self._video, '_ffplayer'): self.ffplayer = self._video._ffplayer - Window.bind(on_rotate=self.ctrl_fullscreen) + Window.bind(on_size=self.ctrl_fullscreen) def ctrl_fullscreen(self,*args): print('newvideo(),crtl_fullscreen',args)