Skip to content

Commit

Permalink
Unify nearby az arrows and locate
Browse files Browse the repository at this point in the history
  • Loading branch information
brickbots committed Mar 3, 2024
1 parent 94b9e96 commit ec8f00b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/PiFinder/ui/nearby.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ def filter(self):

def format_az_alt(self, point_az, point_alt):
if point_az >= 0:
az_arrow_symbol = self.right_arrow
az_arrow_symbol = self.left_arrow
else:
point_az *= -1
az_arrow_symbol = self.left_arrow
az_arrow_symbol = self.right_arrow

if point_az < 1:
az_string = f"{az_arrow_symbol}{point_az:04.2f}"
Expand Down

0 comments on commit ec8f00b

Please sign in to comment.