From 807d8458f8f8c13bdca9b81fc945bafb75b8b657 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 11 Sep 2020 17:44:58 +0800 Subject: [PATCH] bugfix --- kivyblocks/ready.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/kivyblocks/ready.py b/kivyblocks/ready.py index ab21717..cf2bcd6 100644 --- a/kivyblocks/ready.py +++ b/kivyblocks/ready.py @@ -38,7 +38,6 @@ class WidgetReady(EventDispatcher): if value: self.fullscreen = False return - print('NewVideo::on_fullscreen(),value=', value, window.size) if not self.parent: Logger.warning('VideoPlayer: Cannot switch to fullscreen, ' 'no parent.') @@ -56,21 +55,16 @@ class WidgetReady(EventDispatcher): 'size_hint': self.size_hint, 'window_children': window.children[:]} - print('on_fullscreen()*******1******') # if platform in desktopOSs: # Window.maximize() - print('on_fullscreen()*******2******') # remove all window children for child in window.children[:]: window.remove_widget(child) - print('on_fullscreen()*******3******') # put the video in fullscreen if state['parent'] is not window: state['parent'].remove_widget(self) - print('on_fullscreen()*******4******') window.add_widget(self) - print('on_fullscreen()*******5******') # ensure the video widget is in 0, 0, and the size will be # readjusted