Skip to content

Commit eb8c232

Browse files
authored
Merge pull request #2120 from pupil-labs/fix_service_calib
Only run trigger_main_window_redraw() in Capture
2 parents 668ceeb + 9d5147a commit eb8c232

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

pupil_src/shared_modules/calibration_choreography/base_plugin.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,8 +565,10 @@ def _perform_stop(self):
565565
)
566566
return
567567

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

571573
current_mode = self.__current_mode
572574
pupil_list = self.__pupil_list

0 commit comments

Comments
 (0)