From 96490199087e5e92dda9813c10a7bf2e974ff633 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 22 Dec 2019 22:15:55 +0800 Subject: [PATCH] bugfix --- kivyblocks/vplayer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kivyblocks/vplayer.py b/kivyblocks/vplayer.py index b78c5fc..1613aa3 100644 --- a/kivyblocks/vplayer.py +++ b/kivyblocks/vplayer.py @@ -198,7 +198,7 @@ class VPlayer(FloatLayout): def on_fullscreen(self, instance, value): window = self.get_parent_window() - print('window.size=',window.size) + print('window.size=',window.size,'Window size=',Window.size) if not window: Logger.warning('VideoPlayer: Cannot switch to fullscreen, ' 'window not found.') @@ -214,6 +214,7 @@ class VPlayer(FloatLayout): if value: Window.fullscreen = True + print('Window size=',Window.size) self._fullscreen_state = state = { 'parent': self.parent, 'pos': self.pos,