From 0378528b962f36c38de460574a5c13aeb7b9e0ae Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 21 Dec 2019 20:45:49 +0800 Subject: [PATCH] bugfix --- kivyblocks/vplayer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kivyblocks/vplayer.py b/kivyblocks/vplayer.py index c6363d9..b78c5fc 100644 --- a/kivyblocks/vplayer.py +++ b/kivyblocks/vplayer.py @@ -213,6 +213,7 @@ class VPlayer(FloatLayout): return if value: + Window.fullscreen = True self._fullscreen_state = state = { 'parent': self.parent, 'pos': self.pos, @@ -237,6 +238,7 @@ class VPlayer(FloatLayout): self.pos_hint = {} self.size_hint = (1, 1) else: + Window.fullscreen = False state = self._fullscreen_state window.remove_widget(self) for child in state['window_children']: