bugfix
This commit is contained in:
parent
d5bb0b397c
commit
f78f51a168
@ -244,7 +244,6 @@ class VPlayer(FloatLayout):
|
|||||||
else:
|
else:
|
||||||
Window.fullscreen = False
|
Window.fullscreen = False
|
||||||
state = self._fullscreen_state
|
state = self._fullscreen_state
|
||||||
Window.size = state['WindowSize']
|
|
||||||
window.remove_widget(self)
|
window.remove_widget(self)
|
||||||
for child in state['window_children']:
|
for child in state['window_children']:
|
||||||
window.add_widget(child)
|
window.add_widget(child)
|
||||||
@ -254,6 +253,8 @@ class VPlayer(FloatLayout):
|
|||||||
self.size = state['size']
|
self.size = state['size']
|
||||||
if state['parent'] is not window:
|
if state['parent'] is not window:
|
||||||
state['parent'].add_widget(self)
|
state['parent'].add_widget(self)
|
||||||
|
Window.size = state['WindowSize']
|
||||||
|
print('state_size=',state['WindowSize'], 'windowsize=',Window.size)
|
||||||
|
|
||||||
def buildMenu(self,obj,touch):
|
def buildMenu(self,obj,touch):
|
||||||
if not self.collide_point(*touch.pos):
|
if not self.collide_point(*touch.pos):
|
||||||
|
Loading…
Reference in New Issue
Block a user