move tree fix

This commit is contained in:
Sander Land committed 2020-06-19 19:16:15 +02:00
1 parent a018a62067
commit 3c2f2a9b46
8 files changed
+23 -18

No files matched your search

+3 -1
View File
@@ -53,7 +53,9 @@ class PlayAnalyzeSelect(MDFloatLayout):
def switch_ui_mode(self): # on tab press, fake ui click and trigger everything top down
if self.mode == MODE_PLAY:
Clock.schedule_once(lambda _dt: self.analyze.trigger_action(duration=0)) # normal trigger does not cross thread
Clock.schedule_once(
lambda _dt: self.analyze.trigger_action(duration=0)
) # normal trigger does not cross thread
else:
Clock.schedule_once(lambda _dt: self.play.trigger_action(duration=0))