From 434e55040f5040a5ace3c6e71ec65d0d3b916513 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 8 Aug 2020 21:26:41 +0800 Subject: [PATCH] bugfix --- kivyblocks/newvideo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kivyblocks/newvideo.py b/kivyblocks/newvideo.py index c2875d6..2979945 100644 --- a/kivyblocks/newvideo.py +++ b/kivyblocks/newvideo.py @@ -31,10 +31,10 @@ class NewVideo(Video): if hasattr(self._video, '_ffplayer'): self.ffplayer = self._video._ffplayer - Window.bind(on_size=self.ctrl_fullscreen) + Window.bind(size=self.ctrl_fullscreen) def ctrl_fullscreen(self,*args): - print('newvideo(),crtl_fullscreen',args) + print('NewVideo(),crtl_fullscreen',args) if Window.width > Window.height: self.fullscreen = True else: