Skip to content

Commit

Permalink
Merge pull request #2120 from pupil-labs/fix_service_calib
Browse files Browse the repository at this point in the history
Only run trigger_main_window_redraw() in Capture
  • Loading branch information
papr authored Mar 21, 2021
2 parents 668ceeb + 9d5147a commit eb8c232
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -565,8 +565,10 @@ def _perform_stop(self):
)
return

# Reset the main window size to trigger a redraw with correct size and scale
self.g_pool.trigger_main_window_redraw()
if self.g_pool.app == "capture":
# Reset the main window size to trigger a redraw with correct size and scale
# Only run in Capture to fix https://github.com/pupil-labs/pupil/issues/2119
self.g_pool.trigger_main_window_redraw()

current_mode = self.__current_mode
pupil_list = self.__pupil_list
Expand Down

0 comments on commit eb8c232

Please sign in to comment.