Skip to content

Commit

Permalink
Make sure we come out of tetra3 mode
Browse files Browse the repository at this point in the history
  • Loading branch information
brickbots committed Jul 1, 2024
1 parent 9faae75 commit 6dfad44
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/PiFinder/ui/preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ def key_number(self, number):
self.shared_state.set_solve_pixel((256, 256))
self.config_object.set_option("solve_pixel", (256, 256))
self.align_mode = False
self.update(force=True)
if number in list(range(1, self.highlight_count + 1)):
# They picked a star to align....
star_index = number - 1
Expand All @@ -260,4 +259,6 @@ def key_number(self, number):
(star_cam_x, star_cam_y),
)
self.align_mode = False
self.update(force=True)

self.shared_state.set_camera_align(self.align_mode)
self.update(force=True)

0 comments on commit 6dfad44

Please sign in to comment.