Skip to content

Commit

Permalink
g_x fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
izsoandras committed Feb 2, 2022
1 parent 80366d7 commit 02238c7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions my_gui/custom_elements/course_view/CourseMap.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ def _draw_marker(self, marker, color, filled=True):
self.ratio * (y_c + self.marker_rad),
fill=color)
else:
self.car_goal_marker = self.canvas.create_oval(self.ratio * (g_x - self.marker_rad),
self.ratio * (g_y - self.marker_rad),
self.ratio * (g_x + self.marker_rad),
self.ratio * (g_y + self.marker_rad),
self.car_goal_marker = self.canvas.create_oval(self.ratio * (x_c - self.marker_rad),
self.ratio * (y_c - self.marker_rad),
self.ratio * (x_c + self.marker_rad),
self.ratio * (y_c + self.marker_rad),
fill=None, outline=color,
width=self.ratio * self.marker_rad / 2)

Expand Down

0 comments on commit 02238c7

Please sign in to comment.