bugfix
This commit is contained in:
parent
8dc469d966
commit
0378528b96
@ -213,6 +213,7 @@ class VPlayer(FloatLayout):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if value:
|
if value:
|
||||||
|
Window.fullscreen = True
|
||||||
self._fullscreen_state = state = {
|
self._fullscreen_state = state = {
|
||||||
'parent': self.parent,
|
'parent': self.parent,
|
||||||
'pos': self.pos,
|
'pos': self.pos,
|
||||||
@ -237,6 +238,7 @@ class VPlayer(FloatLayout):
|
|||||||
self.pos_hint = {}
|
self.pos_hint = {}
|
||||||
self.size_hint = (1, 1)
|
self.size_hint = (1, 1)
|
||||||
else:
|
else:
|
||||||
|
Window.fullscreen = False
|
||||||
state = self._fullscreen_state
|
state = self._fullscreen_state
|
||||||
window.remove_widget(self)
|
window.remove_widget(self)
|
||||||
for child in state['window_children']:
|
for child in state['window_children']:
|
||||||
|
Loading…
Reference in New Issue
Block a user