Skip to content

Commit

Permalink
Fix reticle position after alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
brickbots committed Dec 21, 2024
1 parent 6516b6f commit ead6536
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions python/PiFinder/ui/align.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,8 @@ def draw_reticle(self):
return

if not self.align_mode:
self.reticle_position = (
self.config_object.get_option("solve_pixel", (256, 256))[1] / 4,
self.config_object.get_option("solve_pixel", (256, 256))[0] / 4,
self.reticle_position = self.starfield.radec_to_xy(
self.solution["RA_target"], self.solution["Dec_target"]
)

x_pos = round(self.reticle_position[0])
Expand Down

0 comments on commit ead6536

Please sign in to comment.