Skip to content

Commit 760ae09

Browse files
committed
Fix very long lines
1 parent 38e4fb1 commit 760ae09

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

arcade/camera/camera_2d.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,9 @@ def left(self) -> float:
239239

240240
@left.setter
241241
def left(self, _left: float) -> None:
242-
self._camera_data.position = (_left - self._projection_data.left / self._camera_data.zoom,) + self._camera_data.position[1:]
242+
self._camera_data.position =\
243+
(_left - self._projection_data.left / self._camera_data.zoom,)\
244+
+ self._camera_data.position[1:]
243245

244246
@property
245247
def right(self) -> float:
@@ -251,7 +253,9 @@ def right(self) -> float:
251253

252254
@right.setter
253255
def right(self, _right: float) -> None:
254-
self._camera_data.position = (_right - self._projection_data.right / self._camera_data.zoom,) + self._camera_data.position[1:]
256+
self._camera_data.position =\
257+
(_right - self._projection_data.right / self._camera_data.zoom,)\
258+
+ self._camera_data.position[1:]
255259

256260
@property
257261
def bottom(self) -> float:

0 commit comments

Comments
 (0)