Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
# Conflicts:
#	vacuum-agent/environment.py
  • Loading branch information
killian-mahe committed Oct 2, 2021
2 parents e50ba49 + e416bb4 commit 8b015a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vacuum-agent/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ def draw_agent(self, position: Position):
pen.setWidth(3)
pen.setColor(Qt.red)
if self.agent_rect:
self.agent_rect.setRect(QRectF(position.x - 40, position.y - 40, 80, 80))
self.agent_rect.setRect(
QRectF(position.x - 40, position.y - 40, 80, 80))
else:
self.agent_rect = self.scene.addRect(QRectF(position.x - 40, position.y - 40, 80, 80),
pen=pen)
Expand Down

0 comments on commit 8b015a6

Please sign in to comment.