bugfix
This commit is contained in:
parent
591c7d69e7
commit
9649019908
@ -198,7 +198,7 @@ class VPlayer(FloatLayout):
|
|||||||
|
|
||||||
def on_fullscreen(self, instance, value):
|
def on_fullscreen(self, instance, value):
|
||||||
window = self.get_parent_window()
|
window = self.get_parent_window()
|
||||||
print('window.size=',window.size)
|
print('window.size=',window.size,'Window size=',Window.size)
|
||||||
if not window:
|
if not window:
|
||||||
Logger.warning('VideoPlayer: Cannot switch to fullscreen, '
|
Logger.warning('VideoPlayer: Cannot switch to fullscreen, '
|
||||||
'window not found.')
|
'window not found.')
|
||||||
@ -214,6 +214,7 @@ class VPlayer(FloatLayout):
|
|||||||
|
|
||||||
if value:
|
if value:
|
||||||
Window.fullscreen = True
|
Window.fullscreen = True
|
||||||
|
print('Window size=',Window.size)
|
||||||
self._fullscreen_state = state = {
|
self._fullscreen_state = state = {
|
||||||
'parent': self.parent,
|
'parent': self.parent,
|
||||||
'pos': self.pos,
|
'pos': self.pos,
|
||||||
|
Loading…
Reference in New Issue
Block a user