fix application detection, remove debugging print
This commit is contained in:
parent
90129d4161
commit
bc5bc3d1ef
@ -24,7 +24,7 @@ class screenManager():
|
||||
def update(self, trigger = 'onUpdate'):
|
||||
self.env['runtime']['screenDriver'].getCurrScreen()
|
||||
if not self.isSuspendingScreen():
|
||||
if trigger == 'onUpdate':
|
||||
if trigger == 'onUpdate' or self.isScreenChange():
|
||||
self.env['runtime']['screenDriver'].getCurrApplication()
|
||||
self.env['runtime']['screenDriver'].update(trigger)
|
||||
self.env['screenData']['lastScreenUpdate'] = time.time()
|
||||
|
Loading…
Reference in New Issue
Block a user