This commit is contained in:
yumoqing 2021-06-08 20:59:16 +08:00
parent 8df5f0cff9
commit 77766589f9

View File

@ -30,10 +30,10 @@ class NewVideo(Video):
Clock.schedule_interval(self.check_focus,0.2) Clock.schedule_interval(self.check_focus,0.2)
def on_enter_focus(self, v=None): def on_enter_focus(self, v=None):
Logger.info('NewVideo: enter focus') pass
def on_leave_focus(self, v=None): def on_leave_focus(self, v=None):
Logger.info('NewVideo: leave focus') pass
def check_focus(self,*args): def check_focus(self,*args):
if not self.parent: if not self.parent: