bugfix
This commit is contained in:
parent
e20e5ff1ba
commit
434e55040f
@ -31,10 +31,10 @@ class NewVideo(Video):
|
|||||||
if hasattr(self._video, '_ffplayer'):
|
if hasattr(self._video, '_ffplayer'):
|
||||||
self.ffplayer = self._video._ffplayer
|
self.ffplayer = self._video._ffplayer
|
||||||
|
|
||||||
Window.bind(on_size=self.ctrl_fullscreen)
|
Window.bind(size=self.ctrl_fullscreen)
|
||||||
|
|
||||||
def ctrl_fullscreen(self,*args):
|
def ctrl_fullscreen(self,*args):
|
||||||
print('newvideo(),crtl_fullscreen',args)
|
print('NewVideo(),crtl_fullscreen',args)
|
||||||
if Window.width > Window.height:
|
if Window.width > Window.height:
|
||||||
self.fullscreen = True
|
self.fullscreen = True
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user