fix: properly reload screen after stopping alarm

This commit is contained in:
thiswillbeyourgithub 2022-05-06 16:59:31 +02:00
parent fc90854e5c
commit 4201f264a9

View file

@ -153,6 +153,7 @@ class SleepTkApp():
wasp.system.cancel_alarm(self._WU_t, self._activate_ticks_to_ring) wasp.system.cancel_alarm(self._WU_t, self._activate_ticks_to_ring)
self._disable_tracking() self._disable_tracking()
self.__init__() self.__init__()
self.foreground()
draw = wasp.watch.drawable draw = wasp.watch.drawable
draw.set_color(_FONT_COLOR) draw.set_color(_FONT_COLOR)
draw.string("{} to stop".format(_STOP_LIMIT - self._stop_trial), 0, 70) draw.string("{} to stop".format(_STOP_LIMIT - self._stop_trial), 0, 70)