Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 890ee2c

Browse files
committedFeb 19, 2022
Fix type annotation for _calc_local_xy
1 parent 037c538 commit 890ee2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎displayio_cartesian.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def _draw_pointers(self, x: int, y: int) -> None:
461461

462462
self.append(self._pointer)
463463

464-
def _calc_local_xy(self, x: int, y: int) -> (int, int):
464+
def _calc_local_xy(self, x: int, y: int) -> Tuple[int, int]:
465465
local_x = (
466466
int((x - self._xrange[0]) * self._factorx * self._valuex) + self._nudge_x
467467
)

0 commit comments

Comments
 (0)
Please sign in to comment.