Skip to content

Commit

Permalink
Fix PEP-8 error.
Browse files Browse the repository at this point in the history
  • Loading branch information
pvcraven committed Oct 8, 2021
1 parent 1cdaa6f commit 586fe46
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions arcade/examples/sprite_move_scrolling_shake.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,10 @@ def scroll_to_player(self):
pan.
"""

position = self.player_sprite.center_x - self.width / 2, \
self.player_sprite.center_y - self.height / 2
position = (
self.player_sprite.center_x - self.width / 2,
self.player_sprite.center_y - self.height / 2
)
self.camera_sprites.move_to(position, CAMERA_SPEED)

def on_resize(self, width, height):
Expand Down

0 comments on commit 586fe46

Please sign in to comment.